diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-02-28 16:13:26 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-02-28 16:13:26 +0000 |
commit | 12e730696817a9820a056c80516a0628eca8594a (patch) | |
tree | 878d71a11afbb3b1fc600bbe9fa1569b44637c82 | |
parent | Staging support (diff) |
Staging support
Notes
Notes:
svn path=/head/; revision=346535
-rw-r--r-- | audio/ascd/Makefile | 10 | ||||
-rw-r--r-- | audio/ascd/pkg-plist | 1 |
2 files changed, 7 insertions, 4 deletions
diff --git a/audio/ascd/Makefile b/audio/ascd/Makefile index 0eb517b3ebe9..c8ffc67aea51 100644 --- a/audio/ascd/Makefile +++ b/audio/ascd/Makefile @@ -16,7 +16,6 @@ LICENSE= BSD LIB_DEPENDS= libworkman.so:${PORTSDIR}/audio/libworkman -NO_STAGE= yes USES= imake USE_XORG= xpm @@ -24,8 +23,6 @@ USE_XORG= xpm DATAFILES= ascd-0.13pr6-themes.tgz THEMESDIR= ascd-0.13pr6-themes -MAN1= ascd.1 - post-patch: @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ ${WRKSRC}/misc/config.h.default > ${WRKSRC}/config.h @@ -33,11 +30,16 @@ post-patch: ${WRKSRC}/misc/dirs.h.default > ${WRKSRC}/dirs.h @${CAT} ${WRKSRC}/version.h >> ${WRKSRC}/config.h +post-configure: + @${REINPLACE_CMD} -E '/@(cp|cd)/ s,\(THEMESDIR\),\(DESTDIR\)$$&,g' \ + ${WRKSRC}/Makefile + post-install: @${ECHO_CMD} "AScd additional themes installation" @${ECHO_CMD} "" @${ECHO_CMD} "Untarring" - @${TAR} xf ${WRKDIR}/${THEMESDIR}/themes.tar -C ${PREFIX}/share/ascd/Themes + @${TAR} xf ${WRKDIR}/${THEMESDIR}/themes.tar -C \ + ${STAGEDIR}${PREFIX}/share/ascd/Themes @${ECHO_CMD} "Done." .include <bsd.port.mk> diff --git a/audio/ascd/pkg-plist b/audio/ascd/pkg-plist index a20d72cb35a2..903f7d152688 100644 --- a/audio/ascd/pkg-plist +++ b/audio/ascd/pkg-plist @@ -1,4 +1,5 @@ bin/ascd +man/man1/ascd.1.gz share/ascd/themes-manual.ps.gz share/ascd/Default/back.xpm share/ascd/Default/back_bar.xpm |