diff options
author | joerg <joerg> | 2006-01-19 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-19 02:14:13 +0000 |
commit | ab2458a005a82bce00913b0af8d4006a00e94862 (patch) | |
tree | 3b39783ee2b0009f630429428c2f62c19853b670 /mail | |
parent | 31c37b444310e558e9335f73fd363196bd728512 (diff) | |
download | pkgsrc-ab2458a005a82bce00913b0af8d4006a00e94862.tar.gz |
Replace FILES_SUBST_SED usage with SUBST framework.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/courier-maildir/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/mail/courier-maildir/Makefile b/mail/courier-maildir/Makefile index ff58b14a1e3..83a0c645dff 100644 --- a/mail/courier-maildir/Makefile +++ b/mail/courier-maildir/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/01/03 05:33:11 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2006/01/19 02:14:13 joerg Exp $ DISTNAME= courier-0.52.2 PKGNAME= ${DISTNAME:S/-/-maildir-/} @@ -48,9 +48,18 @@ CONF_FILES_PERMS= ${EGDIR}/sharedindexupdate \ ${PKG_SYSCONFDIR}/sharedindexupdate \ ${ROOT_USER} ${ROOT_GROUP} 0755 -post-build: - @${SED} ${FILES_SUBST_SED} ${FILESDIR}/sharedindexupdate.sh \ - > ${WRKDIR}/sharedindexupdate.sh +SUBST_CLASSES+= paths +SUBST_FILES.paths= ${WRKDIR}/sharedindexupdate.sh +SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' +SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' +SUBST_SED.paths+= -e 's,@MKDIR@,${MKDIR},g' +SUBST_SED.paths+= -e 's,@RM@,${RM},g' +SUBST_SED.paths+= -e 's,@SH@,${SH},g' +SUBST_SED.paths+= -e 's,@TEST@,${TEST},g' +SUBST_STAGE.paths= post-patch + +post-extract: + ${CP} ${FILESDIR}/sharedindexupdate.sh ${WRKDIR}/sharedindexupdate.sh do-install: ${INSTALL_DATA_DIR} ${DOCDIR} |