aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-02 20:48:16 +0800
committerrafan <rafan@FreeBSD.org>2006-12-02 20:48:16 +0800
commit4eb3a7aed9dd73f31377f3cfbdc170292f7e2dd2 (patch)
tree7f2114c39e9fcc86d781f6479dd6911fc752d88e /audio
parented2ae7d6bab7dc31c9417107c73fa34e924fc251 (diff)
downloadfreebsd-ports-gnome-4eb3a7aed9dd73f31377f3cfbdc170292f7e2dd2.tar.gz
freebsd-ports-gnome-4eb3a7aed9dd73f31377f3cfbdc170292f7e2dd2.tar.zst
freebsd-ports-gnome-4eb3a7aed9dd73f31377f3cfbdc170292f7e2dd2.zip
- Respect X11BASE by handling theme installation in Makefile
Reported by: pointyhat
Diffstat (limited to 'audio')
-rw-r--r--audio/ascd/Makefile7
-rw-r--r--audio/ascd/files/install14
2 files changed, 5 insertions, 16 deletions
diff --git a/audio/ascd/Makefile b/audio/ascd/Makefile
index 697f2ab1bd25..e4a07411140a 100644
--- a/audio/ascd/Makefile
+++ b/audio/ascd/Makefile
@@ -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>
diff --git a/audio/ascd/files/install b/audio/ascd/files/install
deleted file mode 100644
index 50032637dcf4..000000000000
--- a/audio/ascd/files/install
+++ /dev/null
@@ -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."