aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spamoracle
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-05-19 21:14:13 +0800
committervs <vs@FreeBSD.org>2005-05-19 21:14:13 +0800
commit33c7da797f21573d9bd4e323d6056ea9c396cf7c (patch)
tree1e9acdbe685b8bf5dc192e13418cabe804d45c09 /mail/spamoracle
parent5eeac01d709cfae935de7542674c66438ba87642 (diff)
downloadfreebsd-ports-gnome-33c7da797f21573d9bd4e323d6056ea9c396cf7c.tar.gz
freebsd-ports-gnome-33c7da797f21573d9bd4e323d6056ea9c396cf7c.tar.zst
freebsd-ports-gnome-33c7da797f21573d9bd4e323d6056ea9c396cf7c.zip
Use PLIST_FILES/PORTDOCS
Diffstat (limited to 'mail/spamoracle')
-rw-r--r--mail/spamoracle/Makefile7
-rw-r--r--mail/spamoracle/pkg-plist4
2 files changed, 5 insertions, 6 deletions
diff --git a/mail/spamoracle/Makefile b/mail/spamoracle/Makefile
index e5d656fba42a..d4ec76bccca5 100644
--- a/mail/spamoracle/Makefile
+++ b/mail/spamoracle/Makefile
@@ -20,7 +20,10 @@ USE_REINPLACE= yes
MAN1= spamoracle.1
MAN5= spamoracle.conf.5
-DOC_FILES= Changes README
+PLIST_FILES= bin/spamoracle
+.ifndef(NOPORTDOCS)
+PORTDOCS= Changes README
+.endif
do-configure:
@${REINPLACE_CMD} -E -e 's|^(CPP=)gcc[[:space:]]+-E|\1${CPP}|' \
@@ -31,7 +34,7 @@ do-configure:
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
+.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/mail/spamoracle/pkg-plist b/mail/spamoracle/pkg-plist
deleted file mode 100644
index 7505e4e04dbe..000000000000
--- a/mail/spamoracle/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/spamoracle
-%%PORTDOCS%%%%DOCSDIR%%/Changes
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%