5 MASTER_SITES= http://www.ranner.eu/stuff/ \
6 http://home.bluelife.at/ports/distfiles/
8 MAINTAINER= michael@ranner.eu
9 COMMENT= Formular processing tool written in perl
10 WWW= http://www.villainy.com/developers.html
12 USES= apache:run,2.2+ perl5
15 WRKSRC= ${WRKDIR}/${PORTNAME}
17 PORTDOCS= BLURB COPYING feedback.fcn feedback.html formication.txt
18 PLIST_FILES= www/cgi-bin/formication.pl
19 SUB_FILES+= pkg-message
24 @${REINPLACE_CMD} -e "s,^#!/usr/local/bin/perl,#!${PERL},g" \
25 -e "s,authorized_uid = 1031;,authorized_uid = ${WWWOWN};,g" \
26 ${WRKSRC}/formication.pl
29 @${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin
30 @${INSTALL_DATA} ${WRKSRC}/formication.pl ${STAGEDIR}${PREFIX}/www/cgi-bin
31 ${MKDIR} ${STAGEDIR}${DOCSDIR}/
32 . for i in ${PORTDOCS}
33 @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
36 .include <bsd.port.mk>