diff options
author | antoine <antoine@FreeBSD.org> | 2013-12-30 00:20:08 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2013-12-30 00:20:08 +0800 |
commit | 04f732400fdca7750be0ac2e229d9073fffd35b8 (patch) | |
tree | d73fffd80c9a2b770ae022fd6b8c5a11077d30e2 /www | |
parent | c20b4b23ccd9f3a654710e5651af8ae223ce6a94 (diff) | |
download | freebsd-ports-gnome-04f732400fdca7750be0ac2e229d9073fffd35b8.tar.gz freebsd-ports-gnome-04f732400fdca7750be0ac2e229d9073fffd35b8.tar.zst freebsd-ports-gnome-04f732400fdca7750be0ac2e229d9073fffd35b8.zip |
Stage support
Diffstat (limited to 'www')
-rw-r--r-- | www/cgichk/Makefile | 10 | ||||
-rw-r--r-- | www/cgichk/pkg-message | 1 | ||||
-rw-r--r-- | www/cgichk/pkg-plist | 2 |
3 files changed, 5 insertions, 8 deletions
diff --git a/www/cgichk/Makefile b/www/cgichk/Makefile index c73f66a354fb..58e0c87bdaf5 100644 --- a/www/cgichk/Makefile +++ b/www/cgichk/Makefile @@ -9,12 +9,11 @@ MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A web site vulnerability scanner +COMMENT= Web site vulnerability scanner WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= cgichk -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile ${REINPLACE_CMD} -e \ @@ -22,10 +21,7 @@ post-patch: ${WRKSRC}/cgichk.h do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cgichk ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/cgichk.cfg ${PREFIX}/etc/cgichk.cfg.sample - -post-install: - @${CAT} ${PKGMESSAGE} + ${INSTALL_PROGRAM} ${WRKSRC}/cgichk ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/cgichk.cfg ${STAGEDIR}${PREFIX}/etc/cgichk.cfg.sample .include <bsd.port.mk> diff --git a/www/cgichk/pkg-message b/www/cgichk/pkg-message deleted file mode 100644 index dff4a171d7e9..000000000000 --- a/www/cgichk/pkg-message +++ /dev/null @@ -1 +0,0 @@ -Copy etc/cgichk.cfg.sample to etc/cgichk.cfg before using cgichk diff --git a/www/cgichk/pkg-plist b/www/cgichk/pkg-plist index 8d9bf0993b74..bb4ad3828a85 100644 --- a/www/cgichk/pkg-plist +++ b/www/cgichk/pkg-plist @@ -1,2 +1,4 @@ bin/cgichk +@unexec if cmp -s %D/etc/cgichk.cfg %D/etc/cgichk.cfg.sample; then rm -f %D/etc/cgichk.cfg; fi etc/cgichk.cfg.sample +@exec if [ ! -f %B/cgichk.cfg ]; then cp -p %B/%f %B/cgichk.cfg; fi |