aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-23 19:43:59 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-23 19:43:59 +0800
commit5ff59da23df42245586c7afcbf859b66e897c631 (patch)
tree1952c5a14ae65c4e953303dc333c1408bfd5c978 /misc
parentbd326e4120e495adfd433b36dea15480e35ac29e (diff)
downloadfreebsd-ports-gnome-5ff59da23df42245586c7afcbf859b66e897c631.tar.gz
freebsd-ports-gnome-5ff59da23df42245586c7afcbf859b66e897c631.tar.zst
freebsd-ports-gnome-5ff59da23df42245586c7afcbf859b66e897c631.zip
- Switch to options helpers
Diffstat (limited to 'misc')
-rw-r--r--misc/crosspad/Makefile6
-rw-r--r--misc/crosspad/pkg-plist3
2 files changed, 3 insertions, 6 deletions
diff --git a/misc/crosspad/Makefile b/misc/crosspad/Makefile
index 83e03a0c3055..56e5f94a990f 100644
--- a/misc/crosspad/Makefile
+++ b/misc/crosspad/Makefile
@@ -16,7 +16,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_path_perl=${PERL}
WRKSRC= ${WRKDIR}/crosspad/build
-DOCS= PROTOCOL README.english README.japanese
+PORTDOCS= PROTOCOL README.english README.japanese
OPTIONS_DEFINE= DOCS
@@ -25,8 +25,8 @@ post-patch:
-e 's,-(g|o) (bin|uucp),,g' \
${WRKSRC}/Makefile.in
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/../|} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/misc/crosspad/pkg-plist b/misc/crosspad/pkg-plist
index 9aed525d616a..93ed51eec130 100644
--- a/misc/crosspad/pkg-plist
+++ b/misc/crosspad/pkg-plist
@@ -10,6 +10,3 @@ man/man1/crosspad2idraw.1.gz
man/man1/crosspad2ps.1.gz
man/man1/crosspad2tgif.1.gz
man/man1/padload.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/PROTOCOL
-%%PORTDOCS%%%%DOCSDIR%%/README.english
-%%PORTDOCS%%%%DOCSDIR%%/README.japanese