pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/lpe Unbreak by switching from post-patch sed w...
details: https://anonhg.NetBSD.org/pkgsrc/rev/72ca128dc1fc
branches: trunk
changeset: 505544:72ca128dc1fc
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jan 04 17:11:03 2006 +0000
description:
Unbreak by switching from post-patch sed with FILES_SUBST_SED to
SUBST framework, only one substitution here.
diffstat:
editors/lpe/Makefile | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diffs (26 lines):
diff -r de21b6722c1f -r 72ca128dc1fc editors/lpe/Makefile
--- a/editors/lpe/Makefile Wed Jan 04 17:05:02 2006 +0000
+++ b/editors/lpe/Makefile Wed Jan 04 17:11:03 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/12/29 06:21:38 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2006/01/04 17:11:03 joerg Exp $
#
DISTNAME= lpe-1.2.6
@@ -26,12 +26,10 @@
MAKE_ENV= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
CFLAGS= -DPREFIX="\"${PREFIX}\""
-post-patch:
- @cd ${WRKSRC}/man && \
- for f in cs de en es; do \
- ${MV} lpe.1.$${f} lpe.1.$${f}.orig; \
- ${SED} ${FILES_SUBST_SED} lpe.1.$${f}.orig > lpe.1.$${f}; \
- done
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= man/lpe.1.cs man/lpe.1.de man/lpe.1.en man/lpe.1.es
+SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},'
.include "../../devel/libslang/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index