Staging support
This commit is contained in:
parent
7cfb742746
commit
12e7306968
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346535
2 changed files with 7 additions and 4 deletions
|
@ -16,7 +16,6 @@ LICENSE= BSD
|
||||||
|
|
||||||
LIB_DEPENDS= libworkman.so:${PORTSDIR}/audio/libworkman
|
LIB_DEPENDS= libworkman.so:${PORTSDIR}/audio/libworkman
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
USES= imake
|
USES= imake
|
||||||
|
|
||||||
USE_XORG= xpm
|
USE_XORG= xpm
|
||||||
|
@ -24,8 +23,6 @@ USE_XORG= xpm
|
||||||
DATAFILES= ascd-0.13pr6-themes.tgz
|
DATAFILES= ascd-0.13pr6-themes.tgz
|
||||||
THEMESDIR= ascd-0.13pr6-themes
|
THEMESDIR= ascd-0.13pr6-themes
|
||||||
|
|
||||||
MAN1= ascd.1
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
|
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
|
||||||
${WRKSRC}/misc/config.h.default > ${WRKSRC}/config.h
|
${WRKSRC}/misc/config.h.default > ${WRKSRC}/config.h
|
||||||
|
@ -33,11 +30,16 @@ post-patch:
|
||||||
${WRKSRC}/misc/dirs.h.default > ${WRKSRC}/dirs.h
|
${WRKSRC}/misc/dirs.h.default > ${WRKSRC}/dirs.h
|
||||||
@${CAT} ${WRKSRC}/version.h >> ${WRKSRC}/config.h
|
@${CAT} ${WRKSRC}/version.h >> ${WRKSRC}/config.h
|
||||||
|
|
||||||
|
post-configure:
|
||||||
|
@${REINPLACE_CMD} -E '/@(cp|cd)/ s,\(THEMESDIR\),\(DESTDIR\)$$&,g' \
|
||||||
|
${WRKSRC}/Makefile
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${ECHO_CMD} "AScd additional themes installation"
|
@${ECHO_CMD} "AScd additional themes installation"
|
||||||
@${ECHO_CMD} ""
|
@${ECHO_CMD} ""
|
||||||
@${ECHO_CMD} "Untarring"
|
@${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."
|
@${ECHO_CMD} "Done."
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
bin/ascd
|
bin/ascd
|
||||||
|
man/man1/ascd.1.gz
|
||||||
share/ascd/themes-manual.ps.gz
|
share/ascd/themes-manual.ps.gz
|
||||||
share/ascd/Default/back.xpm
|
share/ascd/Default/back.xpm
|
||||||
share/ascd/Default/back_bar.xpm
|
share/ascd/Default/back_bar.xpm
|
||||||
|
|
Loading…
Reference in a new issue