aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/tm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-12 17:03:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-12 17:03:32 +0800
commit06835ce6b97316b1b3d4aa00d969eac3f990ef1b (patch)
tree3da79e756624e858dda9e628e71da167a334b77b /sysutils/tm
parentb675bbd88142046fdcef149d506aea9ac7b84789 (diff)
downloadfreebsd-ports-gnome-06835ce6b97316b1b3d4aa00d969eac3f990ef1b.tar.gz
freebsd-ports-gnome-06835ce6b97316b1b3d4aa00d969eac3f990ef1b.tar.zst
freebsd-ports-gnome-06835ce6b97316b1b3d4aa00d969eac3f990ef1b.zip
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'sysutils/tm')
-rw-r--r--sysutils/tm/Makefile13
-rw-r--r--sysutils/tm/pkg-plist4
2 files changed, 8 insertions, 9 deletions
diff --git a/sysutils/tm/Makefile b/sysutils/tm/Makefile
index e8fb530b767c..04073176d3d5 100644
--- a/sysutils/tm/Makefile
+++ b/sysutils/tm/Makefile
@@ -11,10 +11,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Terminal mixer
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
-DOCS= ChangeLog DOCS index.html
MAKE_ENV= LINUX_LIBS=-lutil
+PLIST_FILES= bin/tm
+PORTDOCS= ChangeLog DOCS index.html
+
OPTIONS_DEFINE= DOCS
post-extract:
@@ -26,11 +29,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|pty.h|libutil.h|' ${WRKSRC}/app_term.c
@${ECHO_CMD} '#include <string.h>' >> ${WRKSRC}/main.h
-.include <bsd.port.options.mk>
-
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+do-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/sysutils/tm/pkg-plist b/sysutils/tm/pkg-plist
deleted file mode 100644
index 5e2de5bf8b40..000000000000
--- a/sysutils/tm/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/tm
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/DOCS
-%%PORTDOCS%%%%DOCSDIR%%/index.html