- Respect X11BASE by handling theme installation in Makefile

Reported by:	pointyhat
This commit is contained in:
Rong-En Fan 2006-12-02 12:48:16 +00:00
parent 4958b004bd
commit 51c6967eac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178582
2 changed files with 5 additions and 16 deletions

View File

@ -32,7 +32,10 @@ post-patch:
@${CAT} ${WRKSRC}/version.h >> ${WRKSRC}/config.h
post-install:
@${CP} ${FILESDIR}/install ${WRKDIR}/${THEMESDIR}
@(cd ${WRKDIR}/${THEMESDIR} && ./install)
@${ECHO_CMD} "AScd additional themes installation"
@${ECHO_CMD} ""
@${ECHO_CMD} "Untarring"
@${TAR} xf ${WRKDIR}/${THEMESDIR}/themes.tar -C ${PREFIX}/share/ascd/Themes
@${ECHO_CMD} "Done."
.include <bsd.port.mk>

View File

@ -1,14 +0,0 @@
echo "AScd additional themes installation"
echo
echo "Copying themes tar archives"
cp ./themes.tar /usr/X11R6/share/ascd/Themes
cd /usr/X11R6/share/ascd/Themes
echo "Untarring"
tar xf themes.tar
echo "Cleaning up"
rm -f themes.tar
echo "Done."