diff options
author | epg <epg> | 2003-12-07 01:21:03 +0000 |
---|---|---|
committer | epg <epg> | 2003-12-07 01:21:03 +0000 |
commit | 3269852bd18c6a4000bbcbdbe7700e331ba0f126 (patch) | |
tree | 91572a30d1e9553e930d15772f794723572d17c3 /devel/subversion-base | |
parent | 5355ae92f1defe007fbafece7260c9a4189279d0 (diff) | |
download | pkgsrc-3269852bd18c6a4000bbcbdbe7700e331ba0f126.tar.gz |
Move the massaging of hot-backup.py and tweak-log.cgi from a
pre-configure target in subversion/Makefile.common to a post-patch
target in subversion-base/Makefile.
Diffstat (limited to 'devel/subversion-base')
-rw-r--r-- | devel/subversion-base/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/devel/subversion-base/Makefile b/devel/subversion-base/Makefile index 6229a6817c5..b19e5af3d66 100644 --- a/devel/subversion-base/Makefile +++ b/devel/subversion-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2003/12/06 03:01:58 epg Exp $ +# $NetBSD: Makefile,v 1.9 2003/12/07 01:21:03 epg Exp $ PKGNAME= subversion-base-${SVNVER} COMMENT= Version control system, base programs and libraries @@ -7,6 +7,18 @@ PLIST_SUBST+= INSTALL_INFO=${INSTALL_INFO} .include "../subversion/Makefile.common" +post-patch: + ${SED} -e 's|@BUILDLINK_PREFIX.db4@|${BUILDLINK_PREFIX.db4}|g' \ + < ${WRKSRC}/tools/backup/hot-backup.py.in \ + > ${WRKSRC}/tools/backup/hot-backup.py.in.new + ${MV} ${WRKSRC}/tools/backup/hot-backup.py.in.new \ + ${WRKSRC}/tools/backup/hot-backup.py.in + ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ + < ${WRKSRC}/contrib/cgi/tweak-log.cgi \ + > ${WRKSRC}/contrib/cgi/tweak-log.cgi.new + ${MV} ${WRKSRC}/contrib/cgi/tweak-log.cgi.new \ + ${WRKSRC}/contrib/cgi/tweak-log.cgi + post-install: ${INSTALL_DATA_DIR} ${SVNDOC} ${INSTALL_DATA} ${WRKSRC}/INSTALL ${SVNDOC} |