summaryrefslogtreecommitdiff
path: root/x11-wm/wmthemeinstall
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-29 21:17:14 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-29 21:17:14 +0000
commit0c1812d7dbd70d594ed202098f985405690ad5df (patch)
tree70546d5cfdfe169c45d34b89f6c9ad30f02009e6 /x11-wm/wmthemeinstall
parentMake the port install it's manpage (diff)
Fix MASTER_SITES and use Perl to simulate sed(1).
PR: 15771 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=24267
Diffstat (limited to 'x11-wm/wmthemeinstall')
-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