Update www/firefox-esr to version 102.5.0,1
[dports.git] / www / formication / Makefile
1 PORTNAME=       formication
2 PORTVERSION=    1.0.b1
3 PORTREVISION=   3
4 CATEGORIES=     www
5 MASTER_SITES=   http://www.ranner.eu/stuff/ \
6                 http://home.bluelife.at/ports/distfiles/
7
8 MAINTAINER=     michael@ranner.eu
9 COMMENT=        Formular processing tool written in perl
10 WWW=            http://www.villainy.com/developers.html
11
12 USES=           apache:run,2.2+ perl5
13 USE_PERL5=      run
14 NO_BUILD=       yes
15 WRKSRC=         ${WRKDIR}/${PORTNAME}
16
17 PORTDOCS=       BLURB COPYING feedback.fcn feedback.html formication.txt
18 PLIST_FILES=    www/cgi-bin/formication.pl
19 SUB_FILES+=     pkg-message
20
21 OPTIONS_DEFINE= DOCS
22
23 post-patch:
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
27
28 do-install:
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}/
34 .       endfor
35
36 .include <bsd.port.mk>