aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-26 20:28:21 +0800
committervs <vs@FreeBSD.org>2005-04-26 20:28:21 +0800
commit7609d4f7d73a008ed8d8042d5501266a3a71b418 (patch)
tree3dbf993c7c4987b82a908fbb1c702edb566960dd
parent0e28069e60ff75a74d4e3572092a7b1a631a0440 (diff)
downloadfreebsd-ports-gnome-7609d4f7d73a008ed8d8042d5501266a3a71b418.tar.gz
freebsd-ports-gnome-7609d4f7d73a008ed8d8042d5501266a3a71b418.tar.zst
freebsd-ports-gnome-7609d4f7d73a008ed8d8042d5501266a3a71b418.zip
Use PLIST_FILES/PORTDOCS
-rw-r--r--textproc/pardiff/Makefile7
-rw-r--r--textproc/pardiff/pkg-plist6
2 files changed, 5 insertions, 8 deletions
diff --git a/textproc/pardiff/Makefile b/textproc/pardiff/Makefile
index 497d3ae28264..455f5dafde20 100644
--- a/textproc/pardiff/Makefile
+++ b/textproc/pardiff/Makefile
@@ -18,12 +18,15 @@ GNU_CONFIGURE= yes
MAN1= pardiff.1 diffp.1
-DOCS= AUTHORS ChangeLog README
+PLIST_FILES= bin/pardiff bin/diffp
+.if !defined(NOPORTDOCS)
+PORTDOCS= AUTHORS ChangeLog README
+.endif
post-install:
.if !defined(NOPORTDOCS)
@${INSTALL} -d -m 0755 ${PREFIX}/share/doc/pardiff
-.for f in ${DOCS}
+.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/pardiff/
.endfor
.endif
diff --git a/textproc/pardiff/pkg-plist b/textproc/pardiff/pkg-plist
deleted file mode 100644
index 5bde8d266b6c..000000000000
--- a/textproc/pardiff/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/pardiff
-bin/diffp
-%%PORTDOCS%%share/doc/pardiff/AUTHORS
-%%PORTDOCS%%share/doc/pardiff/ChangeLog
-%%PORTDOCS%%share/doc/pardiff/README
-%%PORTDOCS%%@dirrm share/doc/pardiff