1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/mail/xfmail/Makefile
Ade Lovett b2fd75e438 libtool uber-patch
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5
* upgrade repo-copied devel/libtool14 to 1.4.3
* break out libltdl into its own separate port
* move to version-numbered binaries/scripts (ie: there is *no* 'libtool'
  any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends)

Approved by:	portmgr (kris) - for the bsd.port.mk hooks
Tested by:	bento 4-exp builds (repeatedly)
2003-06-26 22:58:32 +00:00

83 lines
1.9 KiB
Makefile

# New ports collection makefile for: xfmail
# Date created: 30 June 1996
# Whom: gena
#
# $FreeBSD$
#
PORTNAME= xfmail
PORTVERSION= 1.5.4
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://xfmail.cfreeze.com/pub/xfmail/release/%SUBDIR%/ \
ftp://cupido.geophys.nat.tu-bs.de/pub/xfmail/release/%SUBDIR%/ \
ftp://xfmail.ufies.org/pub/xfmail/release/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}rc1/source/
DISTNAME= ${PORTNAME}-${PORTVERSION}-rc1
MAINTAINER= mikeh@FreeBSD.org
COMMENT= An X Window System application for receiving electronic mail
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms \
gdbm.3:${PORTSDIR}/databases/gdbm
USE_AUTOMAKE_VER= 15
USE_AUTOCONF= yes
USE_BZIP2= yes
USE_GNOME= glib12
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_X_PREFIX= yes
USE_XPM= yes
# XXX: Disable patching for libtool until we can generate the files
LIBTOOLFILES=
.include <bsd.port.pre.mk>
CONFIGURE_ARGS= --with-dbm-lib=gdbm
.if defined(WITH_ESOUND)
USE_GNOME+= esound
CONFIGURE_ARGS+= --with-esd-sound
.endif
.if defined(WITH_NAS)
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
CONFIGURE_ARGS+= --with-nas-sound
.endif
.if defined(WITH_FACES)
LIB_DEPENDS+= compface:${PORTSDIR}/mail/faces
CONFIGURE_ARGS+= --with-faces
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
CONFIGURE_ARGS+= --with-ldap
.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_NAS)
@echo "To build with Network Audio System support, restart make and define WITH_NAS"
.endif
.ifndef(WITH_FACES)
@echo "To build with faces support, restart make and define WITH_FACES"
.endif
.ifndef(WITH_LDAP)
@echo "To build with LDAP support, restart make and define WITH_LDAP"
.endif
@echo
pre-configure:
@(cd ${WRKSRC} && ${ENV} ${SCRIPTS_ENV} ${SH} autogen.sh); \
${MAKE} LIBTOOLFILES=aclocal.m4 patch-libtool
.include <bsd.port.post.mk>