aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-themes/sapphire-themes/Makefile7
-rw-r--r--x11-wm/sapphire-themes/Makefile7
2 files changed, 14 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/* \
diff --git a/x11-wm/sapphire-themes/Makefile b/x11-wm/sapphire-themes/Makefile
index 0449ecff63ed..1e215260362a 100644
--- a/x11-wm/sapphire-themes/Makefile
+++ b/x11-wm/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/* \