aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-email2trac/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/trac-email2trac/Makefile')
-rw-r--r--www/trac-email2trac/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/trac-email2trac/Makefile b/www/trac-email2trac/Makefile
index 4013a52b7065..355c7a2155ea 100644
--- a/www/trac-email2trac/Makefile
+++ b/www/trac-email2trac/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= email2trac
-PORTVERSION= 0.9.5
+PORTVERSION= 0.10
CATEGORIES= www devel python
MASTER_SITES= ftp://ftp.sara.nl/pub/outgoing/
PKGNAMEPREFIX= trac-
@@ -22,10 +22,18 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
USE_PYTHON= 2.3+
+PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/delete_spam.py ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/email2trac.py ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/run_email2trac ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/email2trac.conf ${PREFIX}/etc
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>