From 5e21fb285d8b70a220a1e9e80ee6a3db45e2ae57 Mon Sep 17 00:00:00 2001 From: trevor Date: Mon, 25 Dec 2000 10:43:30 +0000 Subject: 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. --- x11-themes/sapphire-themes/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'x11-themes') 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/* \ -- cgit