openbsd-ports/mail/hypermail/Makefile

58 lines
1.4 KiB
Makefile
Raw Normal View History

2003-03-06 00:21:12 -05:00
# $OpenBSD: Makefile,v 1.22 2003/03/06 05:21:12 brad Exp $
2001-03-29 05:05:39 -05:00
COMMENT= "generate a cross-referenced HTML mail archive"
VERSION= 2.1.7
DISTNAME= hypermail-${VERSION}
CATEGORIES= mail www
HOMEPAGE= http://www.hypermail.org/
MASTER_SITES= ${HOMEPAGE}dist/
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
2003-03-06 00:21:12 -05:00
LIB_DEPENDS+= pcre::devel/pcre
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/src/pcre
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"
ALL_TARGET= hypermail
MAKE_FLAGS= WARNINGS=''
FLAVORS= gdbm
2001-05-22 22:58:52 -04:00
FLAVOR?=
.if ${FLAVOR:L} == "gdbm"
2003-03-06 00:21:12 -05:00
CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE}
LIB_DEPENDS+= gdbm.::databases/gdbm
.else
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-03-06 00:21:12 -05:00
DOCS= hr.yellow.gif hypermail.gif hypermail-faq.html customizing.html \
hmrc.html hypermail.html customizing.html attachments.txt
2001-05-22 22:58:52 -04:00
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/src/hypermail ${PREFIX}/bin
${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
.include <bsd.port.mk>