1995-10-03 02:20:06 +01:00
|
|
|
# New ports collection makefile for: xfmail
|
1996-07-12 13:52:01 +02:00
|
|
|
# Date created: 30 June 1996
|
1995-10-03 02:20:06 +01:00
|
|
|
# Whom: gena
|
|
|
|
#
|
1999-08-25 08:51:17 +02:00
|
|
|
# $FreeBSD$
|
1995-10-03 02:20:06 +01:00
|
|
|
#
|
|
|
|
|
2000-04-13 22:01:08 +02:00
|
|
|
PORTNAME= xfmail
|
2004-01-18 21:14:31 +01:00
|
|
|
PORTVERSION= 1.5.5
|
2011-09-13 01:17:32 +02:00
|
|
|
PORTREVISION= 11
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= mail
|
2003-01-05 17:30:22 +01:00
|
|
|
MASTER_SITES= ftp://xfmail.cfreeze.com/pub/xfmail/release/%SUBDIR%/ \
|
2004-01-11 20:14:46 +01:00
|
|
|
ftp://ftp.welcomes-you.com/pub/xfmail/release/%SUBDIR%/ \
|
2003-01-05 17:30:22 +01:00
|
|
|
ftp://xfmail.ufies.org/pub/xfmail/release/%SUBDIR%/
|
2004-01-18 21:14:31 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}/source/
|
1995-10-03 07:51:55 +01:00
|
|
|
|
2008-09-01 02:59:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An X Window System application for receiving electronic mail
|
1995-10-03 02:20:06 +01:00
|
|
|
|
2011-09-07 10:28:13 +02:00
|
|
|
LIB_DEPENDS= forms.2:${PORTSDIR}/x11-toolkits/xforms \
|
2011-09-13 01:17:32 +02:00
|
|
|
gdbm.4:${PORTSDIR}/databases/gdbm
|
1995-10-03 02:20:06 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
1999-11-13 19:47:50 +01:00
|
|
|
USE_BZIP2= yes
|
2002-07-15 19:21:56 +02:00
|
|
|
USE_GNOME= glib12
|
2001-07-03 03:20:09 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2008-03-24 18:02:27 +01:00
|
|
|
USE_XORG= xpm
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-07-08 17:37:17 +02:00
|
|
|
|
2001-07-03 03:20:09 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-dbm-lib=gdbm
|
2001-07-08 17:37:17 +02:00
|
|
|
|
|
|
|
.if defined(WITH_ESOUND)
|
2003-04-21 00:26:23 +02:00
|
|
|
USE_GNOME+= esound
|
2001-07-08 17:37:17 +02:00
|
|
|
CONFIGURE_ARGS+= --with-esd-sound
|
|
|
|
.endif
|
|
|
|
|
2003-06-11 05:02:33 +02:00
|
|
|
.if defined(WITH_NAS)
|
|
|
|
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
|
|
|
|
CONFIGURE_ARGS+= --with-nas-sound
|
|
|
|
.endif
|
|
|
|
|
2003-06-10 05:06:31 +02:00
|
|
|
.if defined(WITH_FACES)
|
|
|
|
LIB_DEPENDS+= compface:${PORTSDIR}/mail/faces
|
|
|
|
CONFIGURE_ARGS+= --with-faces
|
|
|
|
.endif
|
|
|
|
|
1998-01-10 19:37:05 +01:00
|
|
|
MAN1= xfmail.1
|
1995-10-03 02:20:06 +01:00
|
|
|
|
2003-06-10 05:06:31 +02:00
|
|
|
pre-everything::
|
|
|
|
@echo
|
|
|
|
.ifndef(WITH_ESOUND)
|
|
|
|
@echo "To build with esound support, restart make and define WITH_ESOUND"
|
|
|
|
.endif
|
2003-06-11 05:02:33 +02:00
|
|
|
.ifndef(WITH_NAS)
|
|
|
|
@echo "To build with Network Audio System support, restart make and define WITH_NAS"
|
|
|
|
.endif
|
2003-06-10 05:06:31 +02:00
|
|
|
.ifndef(WITH_FACES)
|
|
|
|
@echo "To build with faces support, restart make and define WITH_FACES"
|
|
|
|
.endif
|
|
|
|
@echo
|
|
|
|
|
2004-05-26 04:28:43 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/libeditor/libxfeditor/g' \
|
|
|
|
${WRKSRC}/src/editor/Makefile.* \
|
|
|
|
${WRKSRC}/src/ui/Makefile.*
|
|
|
|
|
2001-07-03 03:20:09 +02:00
|
|
|
.include <bsd.port.post.mk>
|