openbsd-ports/mail/xfmail/Makefile

59 lines
1.3 KiB
Makefile
Raw Normal View History

2005-12-26 08:16:16 -05:00
# $OpenBSD: Makefile,v 1.36 2005/12/26 13:20:11 steven Exp $
# $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 $
2002-05-22 01:59:33 -04:00
COMMENT= "xforms-based mail application for Unix"
V= 1.5.3
DISTNAME= xfmail-${V}
2005-12-26 08:16:16 -05:00
SHARED_LIBS= editor 0.0 \
mail 0.0
MODGNU_SHARED_LIBS= editor '' \
mail ''
2002-05-22 01:59:33 -04:00
CATEGORIES= mail x11
MASTER_SITES= ftp://ftp.xfmail.org/pub/xfmail/release/${V}/source/
2002-05-22 01:59:33 -04:00
EXTRACT_SUFX= .tar.bz2
2002-05-22 01:59:33 -04:00
HOMEPAGE= http://www.xfmail.org/
2002-05-22 01:59:33 -04:00
LIB_DEPENDS= forms::x11/xforms \
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
BUILD_DEPENDS= ::devel/autoconf/${AUTOCONF_VERSION}
CONFIGURE_STYLE= automake
2002-05-22 01:59:33 -04:00
CONFIGURE_ARGS= --without-nas-sound
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
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
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
.endif
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
.include <bsd.port.mk>