aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/wmthemeinstall/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-30 05:17:14 +0800
committersteve <steve@FreeBSD.org>1999-12-30 05:17:14 +0800
commit4456fa476776fae50c9110b2dde667835073c4f2 (patch)
tree9fcf510d906d0aba6d0e9c5374dc058af34a7b06 /x11-wm/wmthemeinstall/Makefile
parent6549b825dfe5cd56e6c213902b4183f1b493e5d8 (diff)
downloadfreebsd-ports-gnome-4456fa476776fae50c9110b2dde667835073c4f2.tar.gz
freebsd-ports-gnome-4456fa476776fae50c9110b2dde667835073c4f2.tar.zst
freebsd-ports-gnome-4456fa476776fae50c9110b2dde667835073c4f2.zip
Fix MASTER_SITES and use Perl to simulate sed(1).
PR: 15771 Submitted by: maintainer
Diffstat (limited to 'x11-wm/wmthemeinstall/Makefile')
-rw-r--r--x11-wm/wmthemeinstall/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/x11-wm/wmthemeinstall/Makefile b/x11-wm/wmthemeinstall/Makefile
index 1a6da1a80d74..a26e275eaba3 100644
--- a/x11-wm/wmthemeinstall/Makefile
+++ b/x11-wm/wmthemeinstall/Makefile
@@ -8,7 +8,8 @@
DISTNAME= wmthemeinstall-0.62
CATEGORIES= x11-wm
-MASTER_SITES= http://hellblazer.dhis.org/projects/wmthemeinstall/download/
+MASTER_SITES= http://www.lovett.com/FreeBSD/ \
+ ftp://ftp.cronyx.ru/.w3/distfiles/
MAINTAINER= andrews@technologist.com
@@ -22,9 +23,7 @@ CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
DOCS_DIR= ${PREFIX}/share/wmthemeinstall
pre-build:
- @${SED} -e s,/usr/local,${PREFIX},g ${WRKSRC}/wmOptions.c \
- > ${WRKSRC}/wmOptions.c.new
- @${MV} ${WRKSRC}/wmOptions.c.new ${WRKSRC}/wmOptions.c
+ @${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/wmOptions.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/wmthemeinstall ${PREFIX}/bin