1 # Created by: Gerrit Beine <gerrit.beine@gmx.de>
6 CATEGORIES= www devel python
7 MASTER_SITES= ftp://ftp.sara.nl/pub/outgoing/
10 MAINTAINER= joneum@FreeBSD.org
11 COMMENT= Convert email to trac tickets
14 LICENSE_FILE= ${WRKSRC}/LICENSE
16 RUN_DEPENDS= tracd:www/trac
18 CONFLICTS_INSTALL?= trac-email2trac-postfix-[0-9]*
20 OPTIONS_DEFINE= POSTFIX DOCS
21 POSTFIX_DESC= Configure suid script for postfix
26 CONFIGURE_ARGS= --with-trac-user=${TRACUSER} --with-mta-user=${MTAUSER}
29 PORTDOCS= AUTHORS ChangeLog INSTALL README
31 .include <bsd.port.options.mk>
33 .if ${PORT_OPTIONS:MPOSTFIX}
40 ${INSTALL_SCRIPT} ${WRKSRC}/delete_spam.py ${STAGEDIR}${PREFIX}/bin/delete_spam
41 ${INSTALL_SCRIPT} ${WRKSRC}/email2trac.py ${STAGEDIR}${PREFIX}/bin/email2trac
43 ${WRKSRC}/run_email2trac ${STAGEDIR}${PREFIX}/bin
44 ${INSTALL_DATA} ${WRKSRC}/email2trac.conf \
45 ${STAGEDIR}${PREFIX}/etc/email2trac.conf.sample
48 @${MKDIR} ${STAGEDIR}${DOCSDIR}
49 .for file in ${PORTDOCS}
50 ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
53 .include <bsd.port.mk>