diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-06-16 15:03:10 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-06-16 15:03:10 +0000 |
commit | fd64cc1ce59cc2c7732d14183fbb09c1530a6fca (patch) | |
tree | f2b90f36648fe13ed28fdddbabab21b4f8e0d784 | |
parent | 95776cd25c1f4f9a7a4a975fd6c165ae559dc920 (diff) | |
download | FreeBSD-ports-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.zip FreeBSD-ports-fd64cc1ce59cc2c7732d14183fbb09c1530a6fca.tar.gz |
- Get rid of PERL and use SED
-rw-r--r-- | databases/metakit/Makefile | 18 | ||||
-rw-r--r-- | devel/m6811-gcc/Makefile | 4 | ||||
-rw-r--r-- | emulators/frodo/Makefile | 4 | ||||
-rw-r--r-- | emulators/frodo/files/patch-TkGui.tcl | 2 | ||||
-rw-r--r-- | mail/popa3d/Makefile | 8 | ||||
-rw-r--r-- | mail/sendmail-old/Makefile | 5 | ||||
-rw-r--r-- | mail/sendmail/Makefile | 8 | ||||
-rw-r--r-- | mail/sendmail811/Makefile | 5 | ||||
-rw-r--r-- | mail/sendmail812/Makefile | 8 | ||||
-rw-r--r-- | mail/sma/Makefile | 7 | ||||
-rw-r--r-- | net/freebsd-uucp/Makefile | 15 | ||||
-rw-r--r-- | net/py-ldap2/Makefile | 9 | ||||
-rw-r--r-- | news/cnews/Makefile | 2 | ||||
-rw-r--r-- | news/ifmail/Makefile | 5 | ||||
-rw-r--r-- | news/suck/Makefile | 14 | ||||
-rw-r--r-- | security/hpn-ssh/Makefile | 2 | ||||
-rw-r--r-- | security/openssh-portable/Makefile | 2 | ||||
-rw-r--r-- | security/openssh/Makefile | 23 | ||||
-rw-r--r-- | www/webalizer/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/gtoolkit/Makefile | 6 |
20 files changed, 102 insertions, 54 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile index ca02d4f..d1b2915 100644 --- a/databases/metakit/Makefile +++ b/databases/metakit/Makefile @@ -60,12 +60,20 @@ PLIST_SUB+= WITH_TCL="@comment " .include <bsd.port.pre.mk> pre-patch: - @${PERL5} -pi -e "s/= tclsh/=tclsh${TCL_V}/" \ - ${WRKSRC}/../unix/Makefile.in - @${PERL5} -pi -e "s=doc/==" ${WRKSRC}/../MetaKit.html + @${MV} ${WRKSRC}/../MetaKit.html ${WRKSRC}/../MetaKit.html.sed + ${SED} -e "s=doc/==" \ + ${WRKSRC}/../MetaKit.html.sed > ${WRKSRC}/../MetaKit.html +.if defined(METAKIT_WITH_TCL83) || defined(METAKIT_WITH_TCL84) + @${MV} ${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/Makefile.in.sed + ${SED} -e "s/= tclsh/=tclsh${TCL_V}/" \ + ${WRKSRC}/../unix/Makefile.in.sed \ + > ${WRKSRC}/../unix/Makefile.in +.endif .if defined(METAKIT_WITH_PYTHON) - ${PERL5} -pi -e "s=python2.2=${PYTHON_VERSION}=" \ - ${WRKSRC}/../unix/Makefile.in + @${MV} ${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/Makefile.in.sed + ${SED} -e "s=python2.2=${PYTHON_VERSION}=" \ + ${WRKSRC}/../unix/Makefile.in.sed \ + > ${WRKSRC}/../unix/Makefile.in .endif post-install: diff --git a/devel/m6811-gcc/Makefile b/devel/m6811-gcc/Makefile index 79a4be7..6f50197 100644 --- a/devel/m6811-gcc/Makefile +++ b/devel/m6811-gcc/Makefile @@ -30,6 +30,8 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --target=m6811-elf \ MAN1= m6811-elf-g++.1 m6811-elf-g77.1 m6811-elf-gcc.1 cccp.1 post-patch: - @${PERL5} -pi -e "s/TARGET_CONFIGDIRS = libiberty/TARGET_CONFIGDIRS =/" ${WRKSRC}/Makefile.in + @${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.sed + ${SED} -e "s/TARGET_CONFIGDIRS = libiberty/TARGET_CONFIGDIRS =/" \ + ${WRKSRC}/Makefile.in.sed > ${WRKSRC}/Makefile.in .include <bsd.port.mk> diff --git a/emulators/frodo/Makefile b/emulators/frodo/Makefile index 5c1263b..8b03474 100644 --- a/emulators/frodo/Makefile +++ b/emulators/frodo/Makefile @@ -23,7 +23,9 @@ WRKSRC= ${WRKDIR}/Frodo/Src ROM= 1541 Basic Char Kernal post-patch: - @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKDIR}/Frodo/TkGui.tcl + @${MV} ${WRKDIR}/Frodo/TkGui.tcl ${WRKDIR}/Frodo/TkGui.tcl.sed + ${SED} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ + ${WRKDIR}/Frodo/TkGui.tcl.sed > ${WRKDIR}/Frodo/TkGui.tcl do-configure: @(cd ${WRKSRC}; ${SH} ./configure) diff --git a/emulators/frodo/files/patch-TkGui.tcl b/emulators/frodo/files/patch-TkGui.tcl index 5aae3b7..fcefa38 100644 --- a/emulators/frodo/files/patch-TkGui.tcl +++ b/emulators/frodo/files/patch-TkGui.tcl @@ -2,7 +2,7 @@ +++ ../TkGui.tcl Mon Apr 26 21:49:18 1999 @@ -1,9 +1,9 @@ -#!/usr/local/bin/X11/wish -+#!%%LOCALBASE%%/bin/wish8.2 -f ++#!%%LOCALBASE%%/bin/wish8.3 -f # Frodo Tk GUI by Lutz Vieweg <lkv@mania.robin.de> # requires Tk >= 4.1 diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile index badf7a1..662d081 100644 --- a/mail/popa3d/Makefile +++ b/mail/popa3d/Makefile @@ -32,11 +32,15 @@ pre-configure: @${ECHO_CMD} "share/sendmail/cf/hack/popauth.m4" >>${PLIST} post-patch: - @${PERL5} -pi -e "s=db1/db.h=db.h=" ${WRKSRC}/pop_root.c + @${MV} ${WRKSRC}/pop_root.c ${WRKSRC}/pop_root.c.sed + ${SED} -e "s=db1/db.h=db.h=" \ + ${WRKSRC}/pop_root.c.sed > ${WRKSRC}/pop_root.c .endif pre-patch: - @${PERL5} -pi -e "s=/var/empty=${PREFIX}/empty=" ${WRKSRC}/params.h + @${MV} ${WRKSRC}/params.h ${WRKSRC}/params.h.sed + ${SED} -e "s=/var/empty=${PREFIX}/empty=" \ + ${WRKSRC}/params.h.sed > ${WRKSRC}/params.h pre-install: @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile index f5a08e2..de72618 100644 --- a/mail/sendmail-old/Makefile +++ b/mail/sendmail-old/Makefile @@ -87,6 +87,11 @@ PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==} SENDMAIL= ${PREFIX}/sbin/sendmail do-configure: + @${MV} ${WRKSRC}/devtools/OS/FreeBSD ${WRKSRC}/devtools/OS/FreeBSD.sed + ${SED} -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \ + -e "s,\`-O\',\`${CFLAGS}\'," \ + ${WRKSRC}/devtools/OS/FreeBSD.sed \ + > ${WRKSRC}/devtools/OS/FreeBSD ${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ ${SITE} > ${WCONF}/site.config.m4 diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index ecddbad..4e0a710 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -83,9 +83,11 @@ post-extract: > ${WRKSRC}/sendmail.sh do-configure: - ${PERL} -pi -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \ - ${WRKSRC}/devtools/OS/FreeBSD - ${PERL} -pi -e "s,\`-O\',\`${CFLAGS}\'," ${WRKSRC}/devtools/OS/FreeBSD + @${MV} ${WRKSRC}/devtools/OS/FreeBSD ${WRKSRC}/devtools/OS/FreeBSD.sed + ${SED} -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \ + -e "s,\`-O\',\`${CFLAGS}\'," \ + ${WRKSRC}/devtools/OS/FreeBSD.sed \ + > ${WRKSRC}/devtools/OS/FreeBSD ${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ ${SITE} > ${WCONF}/site.config.m4 diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile index f5a08e2..de72618 100644 --- a/mail/sendmail811/Makefile +++ b/mail/sendmail811/Makefile @@ -87,6 +87,11 @@ PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==} SENDMAIL= ${PREFIX}/sbin/sendmail do-configure: + @${MV} ${WRKSRC}/devtools/OS/FreeBSD ${WRKSRC}/devtools/OS/FreeBSD.sed + ${SED} -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \ + -e "s,\`-O\',\`${CFLAGS}\'," \ + ${WRKSRC}/devtools/OS/FreeBSD.sed \ + > ${WRKSRC}/devtools/OS/FreeBSD ${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ ${SITE} > ${WCONF}/site.config.m4 diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile index ecddbad..4e0a710 100644 --- a/mail/sendmail812/Makefile +++ b/mail/sendmail812/Makefile @@ -83,9 +83,11 @@ post-extract: > ${WRKSRC}/sendmail.sh do-configure: - ${PERL} -pi -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \ - ${WRKSRC}/devtools/OS/FreeBSD - ${PERL} -pi -e "s,\`-O\',\`${CFLAGS}\'," ${WRKSRC}/devtools/OS/FreeBSD + @${MV} ${WRKSRC}/devtools/OS/FreeBSD ${WRKSRC}/devtools/OS/FreeBSD.sed + ${SED} -e "s,\`-pthread\',\`${PTHREAD_LIBS}\'," \ + -e "s,\`-O\',\`${CFLAGS}\'," \ + ${WRKSRC}/devtools/OS/FreeBSD.sed \ + > ${WRKSRC}/devtools/OS/FreeBSD ${SED} -e "s=%%PREFIX%%=${PREFIX}=" -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ ${SITE} > ${WCONF}/site.config.m4 diff --git a/mail/sma/Makefile b/mail/sma/Makefile index beb26a3..4cd4a38 100644 --- a/mail/sma/Makefile +++ b/mail/sma/Makefile @@ -19,9 +19,10 @@ SAMPLEFILES= sma.conf ALL_TARGET= sma do-configure: - ${PERL} -pi -e "s,CC =,CC?=," ${WRKSRC}/Makefile - ${PERL} -pi -e "s,CFLAGS = -Wall -O,CFLAGS+= ," \ - ${WRKSRC}/Makefile + @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.sed + ${SED} -e "s,CC =,CC?= ," \ + -e "s,CFLAGS = -Wall -O,CFLAGS+= ," \ + ${WRKSRC}/Makefile.sed > ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sma ${PREFIX}/bin/sma diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile index c9c7b69..6a715c2 100644 --- a/net/freebsd-uucp/Makefile +++ b/net/freebsd-uucp/Makefile @@ -30,16 +30,17 @@ post-extract: do-configure: .for i in ${FIXME} - @${PERL} -pi -e "s=/usr/local/=${PREFIX}/=" ${WRKSRC}/${i} + @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed + ${SED} -e "s=/usr/local/=${PREFIX}/=" \ + ${WRKSRC}/${i}.sed > ${WRKSRC}/${i} .endfor .if defined(UUCP_WITH_VAR_LOG) .for i in ${VARLOG} - @${PERL} -pi -e "s=/var/spool/uucp/Log=/var/log/uucp/Log=" \ - ${WRKSRC}/${i} - @${PERL} -pi -e "s=/var/spool/uucp/Debug=/var/log/uucp/Debug=" \ - ${WRKSRC}/${i} - @${PERL} -pi -e "s=/var/spool/uucp/Stats=/var/log/uucp/Stats=" \ - ${WRKSRC}/${i} + @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed + ${SED} -e "s=/var/spool/uucp/Log=/var/log/uucp/Log=" \ + -e "s=/var/spool/uucp/Debug=/var/log/uucp/Debug=" \ + -e "s=/var/spool/uucp/Stats=/var/log/uucp/Stats=" \ + ${WRKSRC}/${i}.sed > ${WRKSRC}/${i} .endfor @${ECHO_CMD} " .." >> ${WRKSRC}/uucp.mtree @${ECHO_CMD} "/set uname=root gname=wheel mode=0755" \ diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile index 6b96219..e9b065f 100644 --- a/net/py-ldap2/Makefile +++ b/net/py-ldap2/Makefile @@ -25,11 +25,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==} #include_dirs = /usr/local/openldap2/include #libs = lber ldap resolv do-configure: - @${PERL5} -pi -e "s=/usr/local/openldap2/lib=${LOCALBASE}/lib=" \ - ${WRKSRC}/setup.cfg - @${PERL5} -pi \ + @${MV} ${WRKSRC}/setup.cfg ${WRKSRC}/setup.cfg.sed + ${SED} -e "s=/usr/local/openldap2/lib=${LOCALBASE}/lib=" \ -e "s=/usr/local/openldap2/include=${LOCALBASE}/include=" \ - ${WRKSRC}/setup.cfg - @${PERL5} -pi -e "s=lber ldap resolv=lber ldap=" ${WRKSRC}/setup.cfg + -e "s=lber ldap resolv=lber ldap=" \ + ${WRKSRC}/setup.cfg.sed > ${WRKSRC}/setup.cfg .include <bsd.port.mk> diff --git a/news/cnews/Makefile b/news/cnews/Makefile index ea268ad..3f970e5 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -86,7 +86,7 @@ pre-configure: -e "s=/var/news/over.view=${NEWSOV}=" \ -e "s=/var/news=${NEWSARTS}=" \ -e "s=/usr/local/bin=${PREFIX}/bin=" \ - ${WRKSRC}/${i}.sed >${WRKSRC}/${i} + ${WRKSRC}/${i}.sed > ${WRKSRC}/${i} .endfor do-install: diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile index 32bd808..b838473 100644 --- a/news/ifmail/Makefile +++ b/news/ifmail/Makefile @@ -19,8 +19,9 @@ MAN8= ifmail.8 iftoss.8 .if defined(IFMAIL_RUNAS) pre-configure: - @${PERL5} -pi -e "s/OWNER = ifmail/OWNER = ${IFMAIL_RUNAS}/" \ - ${WRKSRC}/CONFIG + @${MV} ${WRKSRC}/CONFIG ${WRKSRC}/CONFIG.sed + ${SED} -e "s/OWNER = ifmail/OWNER = ${IFMAIL_RUNAS}/" \ + ${WRKSRC}/CONFIG.sed > ${WRKSRC}/CONFIG .endif pre-install: diff --git a/news/suck/Makefile b/news/suck/Makefile index 92f4c61..02536a3 100644 --- a/news/suck/Makefile +++ b/news/suck/Makefile @@ -31,18 +31,20 @@ BUILD_DEPENDS+= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn .include <bsd.port.pre.mk> .if defined(SUCK_WITH_SSL) || defined(WITH_SSL) -.include <${PORTSDIR}/security/openssl/Makefile.ssl> +.include "${PORTSDIR}/security/openssl/Makefile.ssl" MAKE_ENV+= SSL_LIB="-lssl -lcrypto" MAKE_ENV+= SSL_DEFS="-I${OPENSSLINC} -DHAVE_LIBSSL" MAKE_ENV+= SSL_LIB_LOC="-L${OPENSSLLIB}" .endif post-patch: - @${PERL5} -pi -e "s=/usr/local/=${LOCALBASE}/=" ${WRKSRC}/Makefile.in - @${PERL5} -pi -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \ - ${WRKSRC}/suck_config.h - @${PERL5} -pi -e "s=/usr/local/news/lib=${LOCALBASE}/news/lib=" \ - ${WRKSRC}/suck_config.h + @${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.sed + ${SED} -e "s=/usr/local/=${LOCALBASE}/=" \ + ${WRKSRC}/Makefile.in.sed > ${WRKSRC}/Makefile.in + @${MV} ${WRKSRC}/suck_config.h ${WRKSRC}/suck_config.h.sed + ${SED} -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \ + -e "s=/usr/local/news/lib=${LOCALBASE}/news/lib=" \ + ${WRKSRC}/suck_config.h.sed > ${WRKSRC}/suck_config.h .if !defined(NOPORTDOCS) post-install: diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile index 2a77e7f..46a8046 100644 --- a/security/hpn-ssh/Makefile +++ b/security/hpn-ssh/Makefile @@ -83,7 +83,7 @@ post-install: .include <bsd.port.pre.mk> -.include <${PORTSDIR}/security/openssl/Makefile.ssl> +.include "${PORTSDIR}/security/openssl/Makefile.ssl" CONFIGURE_ARGS+= --with-ssl-dir=${OPENSSLBASE} .include <bsd.port.post.mk> diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index 2a77e7f..46a8046 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -83,7 +83,7 @@ post-install: .include <bsd.port.pre.mk> -.include <${PORTSDIR}/security/openssl/Makefile.ssl> +.include "${PORTSDIR}/security/openssl/Makefile.ssl" CONFIGURE_ARGS+= --with-ssl-dir=${OPENSSLBASE} .include <bsd.port.post.mk> diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 88b1aeb..afedb14 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -24,6 +24,7 @@ MAN1= scp.1 slogin.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 \ ssh-keyscan.1 sftp.1 MAN8= sshd.8 sftp-server.8 MANCOMPRESSED= yes +MODIFY= ssh.h sshd_config sshd.sh pathnames.h FIXME= lib/Makefile scp/Makefile sftp/Makefile sftp-server/Makefile \ ssh/Makefile ssh-add/Makefile ssh-agent/Makefile \ ssh-keygen/Makefile ssh-keyscan/Makefile sshd/Makefile @@ -71,8 +72,14 @@ post-extract: .endif post-patch: - @${PERL5} -pi -e "s=/etc/ssh=${PREFIX}/etc/ssh=" ${WRKSRC}/sshd_config - @${PERL5} -pi -e "s=/usr/libex=${PREFIX}/libex=" ${WRKSRC}/sshd_config + @${MV} ${WRKSRC}/sshd_config ${WRKSRC}/sshd_config.sed + ${SED} -e "s=/etc/ssh=${PREFIX}/etc/ssh=" \ + -e "s=/usr/libex=${PREFIX}/libex=" \ + ${WRKSRC}/sshd_config.sed > ${WRKSRC}/sshd_config +.for i in ${MODIFY} + @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed + ${SED} -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/${i}.sed >${WRKSRC}/${i} +.endfor @${PERL5} -pi -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/ssh.h \ ${WRKSRC}/sshd_config ${WRKSRC}/sshd.sh \ ${WRKSRC}/pathnames.h @@ -80,11 +87,13 @@ post-patch: .if ${OSVERSION} < 430000 post-configure: .for i in ${FIXME} - @${PERL5} -pi -e "s=KERBEROS[:]L=KERBEROS=" ${WRKSRC}/${i} - @${PERL5} -pi -e "s=KERBEROS5[:]L=KERBEROS5=" ${WRKSRC}/${i} - @${PERL5} -pi -e "s=AFS[:]L=AFS=" ${WRKSRC}/${i} - @${PERL5} -pi -e "s=TCP_WRAPPERS[:]L=TCP_WRAPPERS=" ${WRKSRC}/${i} - @${PERL5} -pi -e "s=SKEY[:]L=SKEY=" ${WRKSRC}/${i} + @${MV} ${WRKSRC}/${i} ${WRKSRC}/${i}.sed + ${SED} -e "s=KERBEROS[:]L=KERBEROS=" \ + -e "s=KERBEROS5[:]L=KERBEROS5=" \ + -e "s=AFS[:]L=AFS=" \ + -e "s=TCP_WRAPPERS[:]L=TCP_WRAPPERS=" \ + -e "s=SKEY[:]L=SKEY=" \ + ${WRKSRC}/${i}.sed >${WRKSRC}/${i} .endfor .endif diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile index 748dfe8..1dd3a9a 100644 --- a/www/webalizer/Makefile +++ b/www/webalizer/Makefile @@ -60,9 +60,12 @@ CONFIGURE_ARGS+= --with-language=${WEBALIZER_LANG} .endif pre-configure: - @${PERL5} -pi -e "s=/etc=${PREFIX}/etc=" ${WRKSRC}/webalizer.1 - @${PERL5} -pi -e "s=webalizer.conf=${PKGNAMEPREFIX}webalizer.conf=" \ - ${WRKSRC}/webalizer.c + @${MV} ${WRKSRC}/webalizer.1 ${WRKSRC}/webalizer.1.sed + ${SED} -e "s=/etc=${PREFIX}/etc=" \ + ${WRKSRC}/webalizer.1.sed > ${WRKSRC}/webalizer.1 + @${MV} ${WRKSRC}/webalizer.c ${WRKSRC}/webalizer.c.sed + ${SED} -e "s=webalizer.conf=${PKGNAMEPREFIX}webalizer.conf=" \ + ${WRKSRC}/webalizer.c.sed > ${WRKSRC}/webalizer.c .if !defined(WEBALIZER_LANG) @${ECHO_MSG} "You can customize the language by typing" @${ECHO_MSG} " make WEBALIZER_LANG=<lang>" diff --git a/x11-toolkits/gtoolkit/Makefile b/x11-toolkits/gtoolkit/Makefile index 1c2b058..dcf813d 100644 --- a/x11-toolkits/gtoolkit/Makefile +++ b/x11-toolkits/gtoolkit/Makefile @@ -29,8 +29,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/GToolKit CONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME} post-patch: - @${PERL} -pi -e 's#gtk-config#gtk12-config#g' \ - ${WRKDIR}/${DISTNAME}/configure + @${MV} ${CONFIGURE_WRKSRC}/configure ${CONFIGURE_WRKSRC}/configure.sed + ${SED} -e 's#gtk-config#gtk12-config#g' \ + ${CONFIGURE_WRKSRC}/configure.sed \ + > ${CONFIGURE_WRKSRC}/configure do-configure: @(cd ${CONFIGURE_WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \ |