3cf559ca1d
- Use SUB_FILES for pkg-message - Use WWWOWN - PREFIX -> LOCALBASE PR: ports/134447 Approved by: maintainer timeout (2 weeks) Submitted by: me
43 lines
1,010 B
Makefile
43 lines
1,010 B
Makefile
# New ports collection makefile for: formication
|
|
# Date created: 2004-01-25
|
|
# Whom: Michael Ranner <mranner@inode.at>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= formication
|
|
PORTVERSION= 1.0.b1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.villainy.com/downloads/ \
|
|
http://www.ranner.jawa.at/stuff/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= michael@ranner.eu
|
|
COMMENT= Formular processing tool written in perl
|
|
|
|
USE_APACHE= 1.3
|
|
USE_PERL5_RUN= yes
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= BLURB COPYING feedback.fcn feedback.html formication.txt
|
|
PLIST_FILES= www/cgi-bin/formication.pl
|
|
SUB_FILES+= pkg-message
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,^#!/usr/local/bin/perl,#!${PERL},g" \
|
|
-e "s,authorized_uid = 1031;,authorized_uid = ${WWWOWN};,g" \
|
|
${WRKSRC}/formication.pl
|
|
|
|
do-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/formication.pl ${LOCALBASE}/www/cgi-bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}/
|
|
. for i in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
|
|
. endfor
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|