openbsd-ports/mail/xfmail/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

2001-08-17 23:52:41 -04:00
# $OpenBSD: Makefile,v 1.21 2001/08/18 03:52:41 kevlo Exp $
# $NetBSD: Makefile,v 1.2 1998/07/04 09:19:04 mycroft Exp $
COMMENT= "xforms-based mail application for Unix"
ONLY_FOR_ARCHS= i386 sparc m68k hp300
DISTNAME= xfmail-1.4.6
CATEGORIES= mail x11
NEED_VERSION= 1.402
2001-02-13 01:51:36 -05:00
MASTER_SITES= ftp://xfmail.ufies.org/pub/xfmail/release/old/1.4.6-3/src/
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://xfmail.slappy.org/
LIB_DEPENDS= forms::x11/xforms \
glib.1.2::devel/glib
2000-03-17 15:14:01 -05:00
PERMIT_PACKAGE_CDROM= "no fee"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no fee"
PERMIT_DISTFILES_FTP= Yes
2000-03-05 13:30:21 -05:00
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-nas-sound
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/X11" \
LDFLAGS="-L${LOCALBASE}/lib/X11"
2000-09-02 09:06:19 -04:00
FLAVORS= threads
FLAVOR?=
.if ${FLAVOR:L} == "threads"
. if ${MACHINE_ARCH} == "sparc"
BROKEN= "pthreads are currently not working on the SPARC architecture"
. endif
2000-09-02 09:06:19 -04:00
.else
CONFIGURE_ARGS+= --without-threads
.endif
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xfmail
${INSTALL_DATA} ${WRKSRC}/Copyright ${PREFIX}/share/doc/xfmail
${INSTALL_PROGRAM} ${WRKSRC}/ui/xfmail ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ui/xfmail.1 ${PREFIX}/man/man1
.include <bsd.port.mk>