diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-11-16 21:25:19 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-11-16 21:25:19 +0800 |
commit | d56cf5cfbf0bb116df427b753b8ca5ff1ef33ce1 (patch) | |
tree | 448387c55dee1a0def3084635c218e0ee785b37f /sysutils/tm | |
parent | 9a01ae53d695eac8a4482dce24e90d03f30fe909 (diff) | |
download | freebsd-ports-gnome-d56cf5cfbf0bb116df427b753b8ca5ff1ef33ce1.tar.gz freebsd-ports-gnome-d56cf5cfbf0bb116df427b753b8ca5ff1ef33ce1.tar.zst freebsd-ports-gnome-d56cf5cfbf0bb116df427b753b8ca5ff1ef33ce1.zip |
Support STAGEDIR.
Diffstat (limited to 'sysutils/tm')
-rw-r--r-- | sysutils/tm/Makefile | 12 | ||||
-rw-r--r-- | sysutils/tm/pkg-plist | 5 |
2 files changed, 9 insertions, 8 deletions
diff --git a/sysutils/tm/Makefile b/sysutils/tm/Makefile index b73645858afe..afd14b43efb3 100644 --- a/sysutils/tm/Makefile +++ b/sysutils/tm/Makefile @@ -12,13 +12,11 @@ COMMENT= Terminal mixer LICENSE= GPLv2 -PLIST_FILES= bin/${PORTNAME} -PORTDOCS= ChangeLog DOCS index.html +DOCS= ChangeLog DOCS index.html MAKE_ENV= LINUX_LIBS=-lutil OPTIONS_DEFINE= DOCS -NO_STAGE= yes post-extract: @${MV} ${WRKSRC}/web/index.html ${WRKSRC}/ @@ -31,10 +29,8 @@ post-patch: .include <bsd.port.options.mk> do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/sysutils/tm/pkg-plist b/sysutils/tm/pkg-plist new file mode 100644 index 000000000000..97a47f1b0837 --- /dev/null +++ b/sysutils/tm/pkg-plist @@ -0,0 +1,5 @@ +bin/tm +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/DOCS +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% |