aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2017-11-09 02:32:58 +0800
committeryuri <yuri@FreeBSD.org>2017-11-09 02:32:58 +0800
commit47906aaa7a493455398eb987d01cf0533ed8c91a (patch)
treef32149e52013d14ad8913a62952e6a4a7f5b4276
parentd85a4bcf5ef0d246692db0b37197759c4f13d45a (diff)
downloadfreebsd-ports-gnome-47906aaa7a493455398eb987d01cf0533ed8c91a.tar.gz
freebsd-ports-gnome-47906aaa7a493455398eb987d01cf0533ed8c91a.tar.zst
freebsd-ports-gnome-47906aaa7a493455398eb987d01cf0533ed8c91a.zip
comms/tio: Moved plist back from Makefile to pkg-plist, added the DOCS option.
Approved by: mat (requested changes in D12987) Differential Revision: https://reviews.freebsd.org/D12987
-rw-r--r--comms/tio/Makefile7
-rw-r--r--comms/tio/pkg-plist4
2 files changed, 5 insertions, 6 deletions
diff --git a/comms/tio/Makefile b/comms/tio/Makefile
index e7d8cee6a829..61ae048ae22d 100644
--- a/comms/tio/Makefile
+++ b/comms/tio/Makefile
@@ -15,17 +15,12 @@ USES= autoreconf
GNU_CONFIGURE= yes
USE_GITHUB= yes
-OPTIONS_DEFINE= BASH
+OPTIONS_DEFINE= BASH DOCS
OPTIONS_DEFAULT= BASH
OPTIONS_SUB= yes
BASH_CONFIGURE_WITH= bash-completion-dir
-PLIST_FILES= bin/tio \
- man/man1/tio.1.gz \
- %%BASH%%share/bash-completion/completions/tio \
- %%PORTDOCS%%%%DOCSDIR%%/README \
-
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
diff --git a/comms/tio/pkg-plist b/comms/tio/pkg-plist
new file mode 100644
index 000000000000..c509a5b8b53b
--- /dev/null
+++ b/comms/tio/pkg-plist
@@ -0,0 +1,4 @@
+bin/tio
+man/man1/tio.1.gz
+%%BASH%%share/bash-completion/completions/tio
+%%PORTDOCS%%%%DOCSDIR%%/README