aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-05-23 21:19:21 +0800
committervs <vs@FreeBSD.org>2005-05-23 21:19:21 +0800
commit36356c78c3b7c1dae6a11feb703dc225e75689af (patch)
tree45cacd10864deee3d224a3a94a3fd021eb9d388a /misc
parent3ac19fb172613a709bd4082f85c6dd828669c269 (diff)
downloadfreebsd-ports-gnome-36356c78c3b7c1dae6a11feb703dc225e75689af.tar.gz
freebsd-ports-gnome-36356c78c3b7c1dae6a11feb703dc225e75689af.tar.zst
freebsd-ports-gnome-36356c78c3b7c1dae6a11feb703dc225e75689af.zip
Use PLIST_FILES/PORTDOCS
Diffstat (limited to 'misc')
-rw-r--r--misc/gkx86info/Makefile7
-rw-r--r--misc/gkx86info/pkg-plist4
2 files changed, 5 insertions, 6 deletions
diff --git a/misc/gkx86info/Makefile b/misc/gkx86info/Makefile
index da4c6dd7a128..b4bafacd665c 100644
--- a/misc/gkx86info/Makefile
+++ b/misc/gkx86info/Makefile
@@ -22,7 +22,10 @@ ONLY_FOR_ARCHS= i386
USE_X_PREFIX= yes
USE_GNOME= gtk12 imlib
-DOC_FILES= COPYING README
+PLIST_FILES= libexec/gkrellm/plugins/gkx86info.so
+.ifndef(NOPORTDOCS)
+PORTDOCS= COPYING README
+.endif
do-build:
@cd ${WRKSRC} && eval ${CC} ${CFLAGS} -o MHz.o -c MHz.c
@@ -35,7 +38,7 @@ do-build:
do-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
+.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif #NOPORTDOCS
diff --git a/misc/gkx86info/pkg-plist b/misc/gkx86info/pkg-plist
deleted file mode 100644
index 6599095a4358..000000000000
--- a/misc/gkx86info/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-libexec/gkrellm/plugins/gkx86info.so
-%%PORTDOCS%%share/doc/gkx86info/COPYING
-%%PORTDOCS%%share/doc/gkx86info/README
-%%PORTDOCS%%@dirrm share/doc/gkx86info