svn commit: r346535 - head/audio/ascd
Pawel Pekala
pawel at FreeBSD.org
Fri Feb 28 16:13:27 UTC 2014
Author: pawel
Date: Fri Feb 28 16:13:26 2014
New Revision: 346535
URL: http://svnweb.freebsd.org/changeset/ports/346535
QAT: https://qat.redports.org/buildarchive/r346535/
Log:
Staging support
Modified:
head/audio/ascd/Makefile
head/audio/ascd/pkg-plist
Modified: head/audio/ascd/Makefile
==============================================================================
--- head/audio/ascd/Makefile Fri Feb 28 15:57:52 2014 (r346534)
+++ head/audio/ascd/Makefile Fri Feb 28 16:13:26 2014 (r346535)
@@ -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>
Modified: head/audio/ascd/pkg-plist
==============================================================================
--- head/audio/ascd/pkg-plist Fri Feb 28 15:57:52 2014 (r346534)
+++ head/audio/ascd/pkg-plist Fri Feb 28 16:13:26 2014 (r346535)
@@ -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
More information about the svn-ports-head
mailing list