- Respect X11BASE by handling theme installation in Makefile
Reported by: pointyhat
This commit is contained in:
parent
4958b004bd
commit
51c6967eac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178582
@ -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>
|
||||
|
@ -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."
|
Loading…
Reference in New Issue
Block a user