From f9611b2a9ee29f2b13bd885f891745db91557a3e Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sat, 16 Nov 2013 13:25:19 +0000 Subject: Support STAGEDIR. --- sysutils/tm/Makefile | 12 ++++-------- sysutils/tm/pkg-plist | 5 +++++ 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 sysutils/tm/pkg-plist (limited to 'sysutils/tm') 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 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 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%% -- cgit v1.2.3