aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2008-11-06 22:06:25 +0800
committerjadawin <jadawin@FreeBSD.org>2008-11-06 22:06:25 +0800
commit715f78553efb8ed8bdfe0cceeb1bfe5c66b5bb82 (patch)
treea83cba38397a2979ef14b8208c4c293250f4cac3 /security
parentc040398600c649d7c3daee2d25aff839d67455d0 (diff)
downloadfreebsd-ports-gnome-715f78553efb8ed8bdfe0cceeb1bfe5c66b5bb82.tar.gz
freebsd-ports-gnome-715f78553efb8ed8bdfe0cceeb1bfe5c66b5bb82.tar.zst
freebsd-ports-gnome-715f78553efb8ed8bdfe0cceeb1bfe5c66b5bb82.zip
- Respect NOPORTDOCS
- Remove useless pkg-plist Noticed by: QAT
Diffstat (limited to 'security')
-rw-r--r--security/gag/Makefile7
-rw-r--r--security/gag/pkg-plist4
2 files changed, 5 insertions, 6 deletions
diff --git a/security/gag/Makefile b/security/gag/Makefile
index 7e04896aebad..01cfc0c5b5b2 100644
--- a/security/gag/Makefile
+++ b/security/gag/Makefile
@@ -18,11 +18,14 @@ COMMENT= A stacheldraht (DOS attack) agent detector
ALL_TARGET= gag
+PORTDOCS= README
+PLIST_FILES= sbin/gag
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/gag ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/gag
- @${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/gag
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/security/gag/pkg-plist b/security/gag/pkg-plist
deleted file mode 100644
index 0a4336b56e9b..000000000000
--- a/security/gag/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $FreeBSD$
-sbin/gag
-share/doc/gag/README
-@dirrm share/doc/gag