aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2000-12-25 18:43:30 +0800
committertrevor <trevor@FreeBSD.org>2000-12-25 18:43:30 +0800
commit5e21fb285d8b70a220a1e9e80ee6a3db45e2ae57 (patch)
tree513923177362d4f533e51e0e412083d59364af6c /x11-themes
parent9e44331542686c33bdb9f3075a6a5dcc83b2dbb3 (diff)
downloadfreebsd-ports-gnome-5e21fb285d8b70a220a1e9e80ee6a3db45e2ae57.tar.gz
freebsd-ports-gnome-5e21fb285d8b70a220a1e9e80ee6a3db45e2ae57.tar.zst
freebsd-ports-gnome-5e21fb285d8b70a220a1e9e80ee6a3db45e2ae57.zip
Add a do-patch target to change some paths from ~/.sapphire/ to
${X11BASE}/share/sapphire/, so sapphire.inst (no longer available as of sapphire 0.15.6) need not be run. Use the 12-point Lucida fonts instead of the 15-point ones (the latter make sapphire crash on my system). Bump PORTREVISION.
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/sapphire-themes/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/x11-themes/sapphire-themes/Makefile b/x11-themes/sapphire-themes/Makefile
index 0449ecff63ed..1e215260362a 100644
--- a/x11-themes/sapphire-themes/Makefile
+++ b/x11-themes/sapphire-themes/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sapphire-themes
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://jpj.net/~trevor/${PORTNAME}/
EXTRACT_SUFX= .tar
@@ -22,6 +23,12 @@ USE_X_PREFIX= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
+do-patch:
+ ${PERL} -pi -e 's:~/\.:${X11BASE}/share/:g' \
+ ${WRKDIR}/menu/default \
+ ${WRKDIR}/themes/*.theme
+ ${PERL} -pi -e 's:-15-:-12-:g' ${WRKDIR}/themes/*.theme
+
do-install:
${MKDIR} ${X11BASE}/share/sapphire/themes/backgrounds/
${INSTALL_DATA} ${WRKDIR}/themes/backgrounds/* \