diff options
author | Mike Heffner <mikeh@FreeBSD.org> | 2003-06-10 03:06:31 +0000 |
---|---|---|
committer | Mike Heffner <mikeh@FreeBSD.org> | 2003-06-10 03:06:31 +0000 |
commit | 83a94660f118a1e4e95c65e26d735904330c030d (patch) | |
tree | 29ed7ad89440d9dfdbf1c359437be9ecbaf9cdf3 /mail | |
parent | 219b47517db01b6cd008ea53184703b49d058299 (diff) | |
download | ports-83a94660f118a1e4e95c65e26d735904330c030d.tar.gz ports-83a94660f118a1e4e95c65e26d735904330c030d.zip |
Add the option to compile in faces support with WITH_FACES.
Submitted by: Serge Gagnon <gagnon__s@videotron.ca>
Notes
Notes:
svn path=/head/; revision=82638
Diffstat (limited to 'mail')
-rw-r--r-- | mail/xfmail/Makefile | 15 | ||||
-rw-r--r-- | mail/xfmail/pkg-plist | 3 |
2 files changed, 18 insertions, 0 deletions
diff --git a/mail/xfmail/Makefile b/mail/xfmail/Makefile index 86a72845f4e5..b100cfb079f4 100644 --- a/mail/xfmail/Makefile +++ b/mail/xfmail/Makefile @@ -48,8 +48,23 @@ USE_GNOME+= esound CONFIGURE_ARGS+= --with-esd-sound .endif +.if defined(WITH_FACES) +LIB_DEPENDS+= compface:${PORTSDIR}/mail/faces +CONFIGURE_ARGS+= --with-faces +.endif + MAN1= xfmail.1 +pre-everything:: + @echo +.ifndef(WITH_ESOUND) + @echo "To build with esound support, restart make and define WITH_ESOUND" +.endif +.ifndef(WITH_FACES) + @echo "To build with faces support, restart make and define WITH_FACES" +.endif + @echo + pre-configure: @(cd ${WRKSRC} && ${SH} autogen.sh); \ ${MAKE} LIBTOOLFILES=aclocal.m4 patch-libtool diff --git a/mail/xfmail/pkg-plist b/mail/xfmail/pkg-plist index aade20735e65..1469a2ca43ad 100644 --- a/mail/xfmail/pkg-plist +++ b/mail/xfmail/pkg-plist @@ -37,3 +37,6 @@ share/xfmail/sign.xpm share/xfmail/spell.xpm share/xfmail/view.xpm @dirrm share/xfmail +@unexec rm -f %D/lib/libface.a +@unexec rm -f %D/lib/libface.so.0 +@unexec rm -f %D/lib/libface.so |