diff options
author | epg <epg@pkgsrc.org> | 2003-12-07 01:21:03 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2003-12-07 01:21:03 +0000 |
commit | bb5f01540d99882c666de8a825a612888ea53fbe (patch) | |
tree | 91572a30d1e9553e930d15772f794723572d17c3 /devel/subversion-base | |
parent | d68e74da7b66bd287eda4feef3008af68ac5c86a (diff) | |
download | pkgsrc-bb5f01540d99882c666de8a825a612888ea53fbe.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} |