Index: head/databases/gnatsweb4/Makefile =================================================================== --- head/databases/gnatsweb4/Makefile (revision 395487) +++ head/databases/gnatsweb4/Makefile (revision 395488) @@ -1,52 +1,52 @@ # Created by: Oliver Eikemeier # $FreeBSD$ PORTNAME= gnatsweb PORTVERSION= 4.00 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= databases devel www MASTER_SITES= GNU MAINTAINER= ports@FreeBSD.org COMMENT= Gnatsweb, a GNATS web interface LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 USE_APACHE_RUN= 22+ USES= perl5 shebangfix SHEBANG_FILES= gnatsweb.pl USE_PERL5= run NO_BUILD= yes NO_ARCH= yes CGI_DIR?= ${WWWDIR}/cgi-bin PLIST_SUB= CGI_DIR="${CGI_DIR:S,^${PREFIX}/,,}" PORTDOCS= CUSTOMIZE CUSTOMIZE.cb CUSTOMIZE.vars \ ChangeLog INSTALL NEWS README TROUBLESHOOTING PORTEXAMPLES= gnatsweb-site-example.pl OPTIONS_DEFINE= DOCS EXAMPLES do-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${CGI_DIR} \ ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/gnatsweb-site.pl \ ${STAGEDIR}${ETCDIR}/gnatsweb-site.pl.sample ${INSTALL_SCRIPT} ${WRKSRC}/gnatsweb.pl ${STAGEDIR}${CGI_DIR} ${LN} -s ${ETCDIR}/gnatsweb-site.pl ${STAGEDIR}${CGI_DIR} ${INSTALL_DATA} ${WRKSRC}/gnatsweb.html ${STAGEDIR}${CGI_DIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .for example in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${example} ${STAGEDIR}${EXAMPLESDIR} .endfor .include Index: head/databases/gnatsweb4/pkg-plist =================================================================== --- head/databases/gnatsweb4/pkg-plist (revision 395487) +++ head/databases/gnatsweb4/pkg-plist (revision 395488) @@ -1,6 +1,4 @@ -@unexec if cmp -s %D/%%ETCDIR%%/gnatsweb-site.pl.sample %D/%%ETCDIR%%/gnatsweb-site.pl.sample; then rm -f %D/%%ETCDIR%%/gnatsweb-site.pl; fi -%%ETCDIR%%/gnatsweb-site.pl.sample -@exec [ -f %B/gnatsweb-site.pl ] || cp %B/%f %B/gnatsweb-site.pl +@sample %%ETCDIR%%/gnatsweb-site.pl.sample %%CGI_DIR%%/gnatsweb.pl %%CGI_DIR%%/gnatsweb-site.pl %%CGI_DIR%%/gnatsweb.html