diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-05 20:57:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-05 20:57:05 +0000 |
commit | b3d233f0b6af1ac7a4b868d4dfeb91f5d137e42c (patch) | |
tree | cbfa551e018383c6ba18fed2817654e1c01ec584 /x11 | |
parent | e804f12622b056d3eea75b3c7d46b8ff75d81f7b (diff) | |
download | pkgsrc-b3d233f0b6af1ac7a4b868d4dfeb91f5d137e42c.tar.gz |
Use SUBST framework for the path patching as well.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdebase3/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile index b417836b4fe..27561c9bd9b 100644 --- a/x11/kdebase3/Makefile +++ b/x11/kdebase3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.99 2005/12/29 06:22:25 jlam Exp $ +# $NetBSD: Makefile,v 1.100 2006/01/05 20:57:05 joerg Exp $ DISTNAME= kdebase-${_KDE_VERSION} PKGREVISION= 1 @@ -130,20 +130,19 @@ SUBST_SED.varlock= s:/var/lock:/var/spool/lock: .endif .endif -SUBST_CLASSES+= htdig +SUBST_CLASSES+= htdig paths SUBST_STAGE.htdig= post-patch SUBST_MESSAGE.htdig= "Fix htdig paths." SUBST_FILES.htdig= khelpcenter/searchhandlers/khc_htsearch.pl SUBST_SED.htdig= s:/srv/www/cgi-bin:${PREFIX}/libexec/cgi-bin: +SUBST_FILES.paths= kcontrol/kdm/main.cpp kioslave/info/kde-info2html.conf +SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' +SUBST_SED.paths+= -e 's,@LOCALBASE@,${LOCALBASE},g' +SUBST_STAGE.paths= post-patch + pre-configure: ${LN} -s FreeBSD ${WRKSRC}/ksysguard/ksysguardd/DragonFly - cd ${WRKSRC}; \ - files="kcontrol/kdm/main.cpp kioslave/info/kde-info2html.conf"; \ - for file in $${files}; do \ - ${SED} ${FILES_SUBST_SED} $${file} > $${file}.new; \ - ${MV} -f $${file}.new $${file}; \ - done post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/kde/templates/.source/emptydir |