diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-31 18:52:14 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-31 18:52:14 +0000 |
commit | 7bd6710415b964c13e6821c51ac8b76207d2c71c (patch) | |
tree | b08db6b3798fa56c79a101af48deee61fdf2897c /mail/anubis/Makefile | |
parent | dcaccdf6855dbaba78e0321dd8c014449c1c4889 (diff) |
Notes
Diffstat (limited to 'mail/anubis/Makefile')
-rw-r--r-- | mail/anubis/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/anubis/Makefile b/mail/anubis/Makefile new file mode 100644 index 000000000000..f17a0c60fe90 --- /dev/null +++ b/mail/anubis/Makefile @@ -0,0 +1,43 @@ +# ex:ts=8 +# Ports collection makefile for: anubis +# Date created: Jul 31, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= anubis +PORTVERSION= 3.3.0 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= gpgme:${PORTSDIR}/security/gpgme \ + pcre:${PORTSDIR}/devel/pcre \ + gnugetopt:${PORTSDIR}/devel/libgnugetopt + +USE_REINPLACE= yes +USE_OPENSSL= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" + +MAN1= anubis.1 + +post-patch: + @${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/src/headers.h + @${SED} -e "s|%%PREFIX%%|${PREFIX}|g" ${FILESDIR}/anubis.sh > \ + ${WRKSRC}/anubis.sh + +.if !defined(NOPORTDOCS) +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/anubis.sh ${PREFIX}/etc/rc.d + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> |