pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/rinetd Use SUBST framework.
details: https://anonhg.NetBSD.org/pkgsrc/rev/34fab0289278
branches: trunk
changeset: 505975:34fab0289278
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Jan 09 23:39:09 2006 +0000
description:
Use SUBST framework.
diffstat:
net/rinetd/Makefile | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (28 lines):
diff -r 8a1ceb200d86 -r 34fab0289278 net/rinetd/Makefile
--- a/net/rinetd/Makefile Mon Jan 09 23:26:09 2006 +0000
+++ b/net/rinetd/Makefile Mon Jan 09 23:39:09 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/12/29 06:22:02 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2006/01/09 23:39:09 joerg Exp $
#
DISTNAME= rinetd
@@ -19,12 +19,13 @@
RCD_SCRIPTS= rinetd
+SUBST_CLASSES+= paths
+SUBST_FILES.paths= rinetd.8
+SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
+SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
+SUBST_STAGE.paths= post-patch
+
post-extract:
@cd ${WRKDIR} && ${MV} -f rinetd ${PKGNAME_NOREV}
-pre-build:
- @${MV} -f ${WRKSRC}/rinetd.8 ${WRKSRC}/rinetd.8.pre
- @${SED} ${FILES_SUBST_SED} ${WRKSRC}/rinetd.8.pre \
- > ${WRKSRC}/rinetd.8
-
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index