summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-02-28 16:13:26 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-02-28 16:13:26 +0000
commit12e730696817a9820a056c80516a0628eca8594a (patch)
tree878d71a11afbb3b1fc600bbe9fa1569b44637c82 /audio
parentStaging support (diff)
Staging support
Notes
Notes: svn path=/head/; revision=346535
Diffstat (limited to 'audio')
-rw-r--r--audio/ascd/Makefile10
-rw-r--r--audio/ascd/pkg-plist1
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