diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-08 14:25:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-08 14:25:35 +0000 |
commit | 75021c9ea4abf18060c24db15269ef75834e4f33 (patch) | |
tree | f722761e44e61c1d0969620527134e82e9e2513a /net | |
parent | 74e4928049afde845ef6111ccd24f5a1c828e611 (diff) | |
download | pkgsrc-75021c9ea4abf18060c24db15269ef75834e4f33.tar.gz |
Use SUBST framework.
Diffstat (limited to 'net')
-rw-r--r-- | net/arla/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/net/arla/Makefile b/net/arla/Makefile index 8c08241b727..cf10444efa0 100644 --- a/net/arla/Makefile +++ b/net/arla/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2005/12/29 06:21:56 jlam Exp $ +# $NetBSD: Makefile,v 1.50 2006/01/08 14:25:35 joerg Exp $ DISTNAME= arla-0.41 #PKGREVISION= 1 @@ -43,6 +43,11 @@ MESSAGE_SUBST+= ARLA_CACHE=${ARLA_CACHE} PLIST_SUBST+= ARLA_CACHE=${ARLA_CACHE:Q} FILES_SUBST+= ARLA_CACHE=${ARLA_CACHE:Q} +SUBST_CLASSES+= paths +SUBST_FILES.paths= ${WRKDIR}/lkm.conf +SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' +SUBST_STAGE.paths= post-patch + EGDIR= ${PREFIX}/share/examples/arla EGFILES= CellServDB DynRootDB SuidCells ThisCell arla.conf @@ -59,10 +64,11 @@ DEINSTALL_EXTRA_TMPL= ${.CURDIR}/DEINSTALL .include "../../mk/x11.buildlink3.mk" +post-extract: + ${CP} ${FILESDIR}/lkm.conf ${WRKDIR}/lkm.conf + post-install: ${RM} -f ${EGDIR}/*.default - ${SED} ${FILES_SUBST_SED} \ - < ${FILESDIR}/lkm.conf > ${WRKDIR}/lkm.conf ${INSTALL_DATA} ${WRKDIR}/lkm.conf ${EGDIR} ${INSTALL_DATA} ${FILESDIR}/fstab ${EGDIR} |