2007-09-15 20:17:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.40 2007/09/16 00:17:07 merdely Exp $
|
1999-04-08 22:27:12 -04:00
|
|
|
# $NetBSD: Makefile,v 1.2 1998/07/04 09:19:04 mycroft Exp $
|
2002-05-22 01:59:33 -04:00
|
|
|
# $RuOBSD: Makefile,v 1.4 2002/05/18 04:21:36 form Exp $
|
2000-03-23 20:00:38 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= xforms-based mail application for Unix
|
2001-05-05 21:45:53 -04:00
|
|
|
|
2004-01-24 22:24:41 -05:00
|
|
|
V= 1.5.3
|
2003-06-20 08:01:55 -04:00
|
|
|
DISTNAME= xfmail-${V}
|
2006-01-13 19:07:28 -05:00
|
|
|
PKGNAME= $(DISTNAME)p0
|
|
|
|
SHARED_LIBS= editor 1.0 \
|
|
|
|
mail 1.0
|
2005-12-26 08:16:16 -05:00
|
|
|
MODGNU_SHARED_LIBS= editor '' \
|
|
|
|
mail ''
|
2002-05-22 01:59:33 -04:00
|
|
|
CATEGORIES= mail x11
|
2003-06-20 08:01:55 -04:00
|
|
|
MASTER_SITES= ftp://ftp.xfmail.org/pub/xfmail/release/${V}/source/
|
2000-09-12 11:54:35 -04:00
|
|
|
|
2002-05-22 01:59:33 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1998-07-08 05:58:29 -04:00
|
|
|
|
2002-05-22 01:59:33 -04:00
|
|
|
HOMEPAGE= http://www.xfmail.org/
|
2000-08-21 23:10:54 -04:00
|
|
|
|
2002-05-22 01:59:33 -04:00
|
|
|
LIB_DEPENDS= forms::x11/xforms \
|
2006-08-03 09:09:09 -04:00
|
|
|
jpeg.>=62::graphics/jpeg \
|
|
|
|
glib.>=1.2::devel/glib
|
2002-05-22 01:59:33 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2000-03-17 15:14:01 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2002-05-22 01:59:33 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2000-03-17 15:14:01 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-30 14:04:22 -05:00
|
|
|
WANTLIB= GL ICE SM X11 Xext Xpm c m stdc++
|
2000-03-17 15:14:01 -05:00
|
|
|
|
2002-05-22 01:59:33 -04:00
|
|
|
USE_X11= Yes
|
2002-06-22 23:49:50 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2002-05-22 01:59:33 -04:00
|
|
|
USE_GMAKE= Yes
|
2005-01-11 02:16:01 -05:00
|
|
|
|
|
|
|
AUTOCONF_VERSION= 2.59
|
|
|
|
# doesn't work otherwise
|
2007-04-01 12:44:19 -04:00
|
|
|
BUILD_DEPENDS= :autoconf-${AUTOCONF_VERSION}*:devel/autoconf/${AUTOCONF_VERSION}
|
2005-01-11 02:16:01 -05:00
|
|
|
CONFIGURE_STYLE= automake
|
2002-05-22 01:59:33 -04:00
|
|
|
CONFIGURE_ARGS= --without-nas-sound
|
2002-09-12 18:26:00 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1998-07-08 05:58:29 -04:00
|
|
|
|
2002-05-23 22:21:46 -04:00
|
|
|
FLAVORS= esd
|
2000-09-02 09:06:19 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2002-05-22 01:59:33 -04:00
|
|
|
.if ${FLAVOR:L:Mesd}
|
|
|
|
CONFIGURE_ARGS+= --with-esd-sound
|
2006-08-03 09:09:09 -04:00
|
|
|
LIB_DEPENDS+= esd.>=2::audio/esound
|
2004-12-30 14:04:22 -05:00
|
|
|
WANTLIB+= audiofile
|
2000-09-02 09:06:19 -04:00
|
|
|
.else
|
2002-05-22 01:59:33 -04:00
|
|
|
CONFIGURE_ARGS+= --without-esd-sound
|
2000-09-13 04:43:40 -04:00
|
|
|
.endif
|
1998-07-08 05:58:29 -04:00
|
|
|
|
2002-05-22 01:59:33 -04:00
|
|
|
pre-configure:
|
2005-01-11 02:16:01 -05:00
|
|
|
@cd ${WRKSRC} && AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} sh autogen.sh
|
1998-07-08 05:58:29 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|