openbsd-ports/mail/xfmail/Makefile

62 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.44 2009/08/10 06:32:43 kili 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 $
COMMENT= xforms-based mail application for Unix
V= 1.5.3
DISTNAME= xfmail-${V}
PKGNAME= ${DISTNAME}p3
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
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 \
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
2007-11-14 04:43:39 -05:00
WANTLIB= GL ICE SM X11 Xau Xdmcp Xext Xpm c m pthread-stubs \
stdc++ xcb
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
2009-03-16 15:46:57 -04:00
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
2005-01-11 02:16:01 -05:00
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
2006-08-03 09:09:09 -04:00
LIB_DEPENDS+= esd.>=2::audio/esound
2009-03-09 17:32:22 -04:00
WANTLIB+= audiofile sndio
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>