From 4456fa476776fae50c9110b2dde667835073c4f2 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 29 Dec 1999 21:17:14 +0000 Subject: Fix MASTER_SITES and use Perl to simulate sed(1). PR: 15771 Submitted by: maintainer --- x11-wm/wmthemeinstall/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'x11-wm') 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 -- cgit