pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/dtcp used SUBST_*.
details: https://anonhg.NetBSD.org/pkgsrc/rev/615a838eff3a
branches: trunk
changeset: 476927:615a838eff3a
user: hamajima <hamajima%pkgsrc.org@localhost>
date: Wed Jun 23 04:58:21 2004 +0000
description:
used SUBST_*.
diffstat:
net/dtcp/Makefile | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (26 lines):
diff -r 3aabee53b77c -r 615a838eff3a net/dtcp/Makefile
--- a/net/dtcp/Makefile Wed Jun 23 04:42:22 2004 +0000
+++ b/net/dtcp/Makefile Wed Jun 23 04:58:21 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/06/22 16:08:27 hamajima Exp $
+# $NetBSD: Makefile,v 1.3 2004/06/23 04:58:21 hamajima Exp $
#
DISTNAME= dtcp-20030228
@@ -17,11 +17,10 @@
RCD_SCRIPTS= dtcpc dtcps
CONF_DEPENDS= YES
-post-configure:
- @cd ${WRKSRC} && \
- for f in dtcpauth.8 dtcpc.8 dtcps.8 ; do \
- ${MV} $$f $$f.orig; \
- ${SED} 's|/usr/local|${PREFIX}|g' $$f.orig > $$f; \
- done
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded paths."
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= dtcpauth.8 dtcpc.8 dtcps.8
+SUBST_SED.paths= 's|/usr/local|${PREFIX}|g'
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index