From 5d9671a143d82329056a15f31018e60b4e1aea2c Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Thu, 2 Jan 2014 10:31:56 +0000 Subject: [PATCH] Stage support --- audio/autozen/Makefile | 16 +++++++--------- audio/autozen/pkg-plist | 1 + 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/audio/autozen/Makefile b/audio/autozen/Makefile index b8e984bc61d9..1559dc78e21a 100644 --- a/audio/autozen/Makefile +++ b/audio/autozen/Makefile @@ -15,7 +15,6 @@ LICENSE= GPLv2 OPTIONS_DEFINE= GTK2 DOCS -NO_STAGE= yes USES= shebangfix perl5 SHEBANG_FILES= zentime USE_PERL5= run @@ -27,7 +26,6 @@ DESKTOP_ENTRIES="AutoZen" \ "AudioVideo;Player;GTK;" \ false -MAN1= autozen.1 PORTDOCS= * .include @@ -54,14 +52,14 @@ post-patch: ${WRKSRC}/Makefile do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} autozen seq2wav ${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_SCRIPT} zentime ${PREFIX}/bin) - (cd ${WRKSRC}/doc && ${INSTALL_MAN} autozen.1 ${MANPREFIX}/man/man1) - @${MKDIR} ${DATADIR} - (cd ${WRKSRC} && ${INSTALL_DATA} *.seq ${DATADIR}) + ${INSTALL_PROGRAM} ${WRKSRC}/autozen ${WRKSRC}/seq2wav ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/zentime ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/autozen.1 ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.seq ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} HTML ${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} HTML ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/audio/autozen/pkg-plist b/audio/autozen/pkg-plist index 5f5dbf7ffbdf..e58de38d2b8f 100644 --- a/audio/autozen/pkg-plist +++ b/audio/autozen/pkg-plist @@ -1,6 +1,7 @@ bin/autozen bin/seq2wav bin/zentime +man/man1/autozen.1.gz %%DATADIR%%/deep-relax.seq %%DATADIR%%/deep_delta_slide.seq %%DATADIR%%/delta_slide.seq