26c1abc58b
- fix brokeness with threads FLAVOR, --enable-threads -> --with-threads
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.16 2000/09/12 15:54:35 brad Exp $
|
|
# $NetBSD: Makefile,v 1.2 1998/07/04 09:19:04 mycroft Exp $
|
|
|
|
ONLY_FOR_ARCHS= i386 sparc m68k hp300
|
|
|
|
DISTNAME= xfmail-1.4.6
|
|
CATEGORIES= mail x11
|
|
NEED_VERSION= 1.328
|
|
MASTER_SITES= ftp://xfmail.ufies.org/pub/xfmail/release/1.4.6-3/src/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
HOMEPAGE= http://xfmail.slappy.org/
|
|
|
|
LIB_DEPENDS= forms::x11/xforms \
|
|
glib.1.2::devel/glib
|
|
|
|
MAINTAINER= kevlo@openbsd.org
|
|
|
|
PERMIT_PACKAGE_CDROM= "no fee"
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= "no fee"
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
USE_X11= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/X11" \
|
|
LDFLAGS="-L${LOCALBASE}/lib/X11"
|
|
|
|
FLAVORS= threads
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L} == "threads"
|
|
CONFIGURE_ARGS= --with-threads
|
|
.else
|
|
CONFIGURE_ARGS= --without-threads
|
|
.endif
|
|
|
|
pre-configure:
|
|
@cp -f ${FILESDIR}/config.cache ${WRKSRC}
|
|
|
|
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>
|