mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
40843b1ccb
apache22 and apache25 had been removed a long time ago however the apache.mk file has never been refactored and is out of sync from the file Mk/bsd.default-versions.mk. These changes refactors the removals of the older versions. In addition: - Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN from SANITY_DEPRECATED to SANITY_UNSUPPORTED - Remove apache versions from ports Makefiles as currently there is only one available version in the tree. However the version checks are still valid and should work flawlessly whenever a new version is added. For example USES=apache:2.2+ are simply replaced with USES=apache. As currently there are no other versions available for test this could not be checked on it's own ground. - Update FOO_USE=APACHE=yes to FOO_USES=apache - Remove trailing whitespaces Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D38113
37 lines
974 B
Makefile
37 lines
974 B
Makefile
PORTNAME= formication
|
|
PORTVERSION= 1.0.b1
|
|
PORTREVISION= 3
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.ranner.eu/stuff/ \
|
|
http://home.bluelife.at/ports/distfiles/
|
|
|
|
MAINTAINER= michael@ranner.eu
|
|
COMMENT= Formular processing tool written in perl
|
|
WWW= http://www.villainy.com/developers.html
|
|
|
|
USES= apache:run perl5
|
|
USE_PERL5= run
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
PORTDOCS= BLURB COPYING feedback.fcn feedback.html formication.txt
|
|
PLIST_FILES= www/cgi-bin/formication.pl
|
|
SUB_FILES+= pkg-message
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin
|
|
@${INSTALL_DATA} ${WRKSRC}/formication.pl ${STAGEDIR}${PREFIX}/www/cgi-bin
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
. for i in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
|
|
. endfor
|
|
|
|
.include <bsd.port.mk>
|