public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* RE: [gentoo-dev] ebuild for doxygen
@ 2001-07-13  7:01 Sean Mitchell
  2001-07-13  7:27 ` Ben Lutgens
  0 siblings, 1 reply; 7+ messages in thread
From: Sean Mitchell @ 2001-07-13  7:01 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

> -----Original Message-----
> From: Ben Lutgens [mailto:blutgens@sistina.com]
> Sent: Thursday, July 12, 2001 4:36 PM
> To: gentoo-dev@cvs.gentoo.org
> Subject: Re: [gentoo-dev] ebuild for doxygen

> YOu need to read the Makefile. Look in the install: target for the
> possibility of using DESTDIR or prefix. The idea is you wanna tell the
> makefile that the destination dir is ${D}  this will cause 
> everything to
> be initally installed by make into /tmp/portage/$PN/image, 
> where it can
> then be packaged up and then properly "merged" into the system.
> 
> Overall I think your ebuild look o.k. (I confess I didn't test it) but
> the bottom line is that you _have_ to install to ${D} or else 
> there's no
> hope of "unmerge"ing the stuff later. 

My thanks to you and Dan for helping me out here. I've attached the updated
ebuild which now uses QT if defined as a USE and properly installs and
uninstalls.
 
> Please see "man 5 ebuild" as it contains a veritable wealth of
> information. 

And so it does. You'd think after a year of OpenBSD I'd have checked "man 5"
and not just "man".

Cheers,

Sean

------------------------------------------------------------------------
 Sean Mitchell                                        Software Engineer
 smitchell@phoenix-interactive.com       Phoenix Interactive Design Inc
 tel. 519-679-2913 x237                        4th Floor, 137 Dundas St
 fax. 519 679 6773                          London, ON, Canada  N6A 1E9
                           ICQ# 104246806
------------------------------------------------------------------------


[-- Attachment #2: doxygen-1.2.8.1.ebuild --]
[-- Type: application/octet-stream, Size: 724 bytes --]

# Author Sean Mitchell <sean@arawak.on.ca>

S=${WORKDIR}/${P}
DESCRIPTION="Doxygen is a documentation system for C++, Java, IDL (Corba, Microsoft and KDE-DCOP flavors) and C"

SRC_URI="ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.2.8.1.src.tar.gz"
HOMEPAGE="http://www.stack.nl/~dimitri/doxygen"

DEPEND="qt? ( >=x11-libs/qt-x11-2.2.1 )"

src_compile()
{
   if [ "`use qt`" ]
   then
      CONFIGURE_OPTIONS="--install install --prefix ${D}/usr --with-doxywizard"
   else
      CONFIGURE_OPTIONS="--install install --prefix ${D}/usr"
   fi

   try ./configure ${CONFIGURE_OPTIONS}
   try make CFLAGS=\"${CFLAGS} -Wall\" all
}

src_install()
{
   try make install
   dodoc README VERSION LICENSE LANGUAGE.HOWTO PLATFORMS
}

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: [gentoo-dev] ebuild for doxygen
@ 2001-07-13  7:48 Sean Mitchell
  2001-07-13  8:00 ` Ben Lutgens
  0 siblings, 1 reply; 7+ messages in thread
From: Sean Mitchell @ 2001-07-13  7:48 UTC (permalink / raw
  To: gentoo-dev

> -----Original Message-----
> From: Ben Lutgens [mailto:blutgens@sistina.com]

> K, I'll look it over. I tinkered with it yesterday but gave 
> up. What an ugly build tree that package is. 

Yeah.... I think he does that to keep MSVC and Borland and all the rest
separate.

I'd appreciate any comments on how to improve it. I have changed 

 SRC_URI="ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.2.8.1.src.tar.gz"

to

 SRC_URI="ftp://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz"

but I'm sure there are other things I could do.


I'm on the Doxygen mailing list, so I'll hover over this ebuild and post
updates as new versions come out.


Sean 



^ permalink raw reply	[flat|nested] 7+ messages in thread
* [gentoo-dev] ebuild for doxygen
@ 2001-07-12 13:44 Sean Mitchell
  2001-07-12 14:32 ` Daniel Robbins
  2001-07-12 14:37 ` Ben Lutgens
  0 siblings, 2 replies; 7+ messages in thread
From: Sean Mitchell @ 2001-07-12 13:44 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

 <<doxygen-1.2.8.1.ebuild>> 

This is my first attempt at an ebuild. It builds and installs fine, but when
I unmerge it there are leftovers (specifically /usr/bin/doxy*). Should I be
using doexe or exeinto? If so what's the syntax?

Cheers,

Sean


------------------------------------------------------------------------
 Sean Mitchell                                        Software Engineer
 smitchell@phoenix-interactive.com       Phoenix Interactive Design Inc
 tel. 519-679-2913 x237                        4th Floor, 137 Dundas St
 fax. 519 679 6773                          London, ON, Canada  N6A 1E9
                           ICQ# 104246806
------------------------------------------------------------------------


[-- Attachment #2: doxygen-1.2.8.1.ebuild --]
[-- Type: application/octet-stream, Size: 714 bytes --]

# Author Sean Mitchell <sean@arawak.on.ca>

S=${WORKDIR}/${P}
DESCRIPTION="Doxygen is a documentation system for C++, Java, IDL (Corba, Microsoft and KDE-DCOP flavors) and C"

SRC_URI="ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.2.8.1.src.tar.gz"
HOMEPAGE="http://www.stack.nl/~dimitri/doxygen"

DEPEND="qt? ( >=x11-libs/qt-x11-2.2.1 )"

src_compile()
{
  if [ "`use qt`" ]
  then
      CONFIGURE_OPTIONS="--install install --prefix /usr --with-doxywizard"
   else
      CONFIGURE_OPTIONS="--install install --prefix /usr"
   fi

   try ./configure ${CONFIGURE_OPTIONS}
   try make CFLAGS=\"${CFLAGS} -Wall\" all
}

src_install()
{
   try make install
   dodoc README VERSION LICENSE LANGUAGE.HOWTO PLATFORMS
}

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-07-13 13:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-13  7:01 [gentoo-dev] ebuild for doxygen Sean Mitchell
2001-07-13  7:27 ` Ben Lutgens
  -- strict thread matches above, loose matches on Subject: below --
2001-07-13  7:48 Sean Mitchell
2001-07-13  8:00 ` Ben Lutgens
2001-07-12 13:44 Sean Mitchell
2001-07-12 14:32 ` Daniel Robbins
2001-07-12 14:37 ` Ben Lutgens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox