2010-11-19 02:23:05 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2010/11/19 07:23:06 espie Exp $
|
2001-03-29 05:05:39 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= generate a cross-referenced HTML mail archive
|
2000-05-24 05:27:55 -04:00
|
|
|
|
2003-11-02 14:37:56 -05:00
|
|
|
VERSION= 2.1.8
|
2002-11-21 21:37:36 -05:00
|
|
|
DISTNAME= hypermail-${VERSION}
|
2010-11-11 05:54:02 -05:00
|
|
|
REVISION = 0
|
2002-09-03 19:22:50 -04:00
|
|
|
CATEGORIES= mail www
|
2000-05-24 05:27:55 -04:00
|
|
|
|
2002-11-05 00:24:36 -05:00
|
|
|
HOMEPAGE= http://www.hypermail.org/
|
2002-09-03 19:22:50 -04:00
|
|
|
|
2002-11-05 00:24:36 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}dist/
|
2002-09-03 19:22:50 -04:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS+= devel/pcre
|
2003-03-06 00:21:12 -05:00
|
|
|
|
2002-11-21 21:37:36 -05:00
|
|
|
# GPL
|
2000-05-24 05:27:55 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-11-11 14:46:30 -05:00
|
|
|
WANTLIB= c m pcre
|
2000-05-24 05:27:55 -04:00
|
|
|
|
2002-09-03 19:22:50 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-09-28 02:02:12 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/src/pcre
|
2002-09-03 19:22:50 -04:00
|
|
|
CONFIGURE_ARGS= --with-htmldir=${PREFIX}/share/doc/hypermail
|
2003-03-06 00:21:12 -05:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -DHAVE_VFSCANF" \
|
|
|
|
INCLUDES="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-05-24 05:27:55 -04:00
|
|
|
|
2003-01-28 12:31:55 -05:00
|
|
|
ALL_TARGET= hypermail
|
2002-09-03 19:22:50 -04:00
|
|
|
MAKE_FLAGS= WARNINGS=''
|
2010-11-11 05:54:02 -05:00
|
|
|
USE_GROFF = Yes
|
2001-07-30 09:04:26 -04:00
|
|
|
|
2002-09-03 19:22:50 -04:00
|
|
|
FLAVORS= gdbm
|
2001-05-22 22:58:52 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "gdbm"
|
2010-11-11 05:54:02 -05:00
|
|
|
CONFIGURE_ARGS +=--with-gdbm=${LOCALBASE}
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS += databases/gdbm
|
2010-11-11 05:54:02 -05:00
|
|
|
WANTLIB += gdbm
|
2002-04-15 16:46:25 -04:00
|
|
|
.else
|
2010-11-11 05:54:02 -05:00
|
|
|
CONFIGURE_ARGS +=--without-gdbm
|
2001-05-22 22:58:52 -04:00
|
|
|
.endif
|
|
|
|
|
2002-10-27 12:21:39 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2003-11-02 14:37:56 -05:00
|
|
|
DOCS= *.html *.png attachments.txt
|
2003-03-06 00:21:12 -05:00
|
|
|
|
2001-05-22 22:58:52 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/src/hypermail ${PREFIX}/bin
|
2000-05-24 05:27:55 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hypermail
|
2003-03-06 00:21:12 -05:00
|
|
|
.for f in ${DOCS}
|
2001-05-22 22:58:52 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/hypermail
|
|
|
|
.endfor
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/hypermail.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/hmrc.4 ${PREFIX}/man/man5/hmrc.5
|
2000-05-24 05:27:55 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|