summaryrefslogtreecommitdiff
path: root/editors/lpe
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-04 17:11:03 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-04 17:11:03 +0000
commitc668b4c00bc0c293820aca105363bc2c448122d6 (patch)
tree7768f36606f904f67ef728962b4b4ecd9caff1ad /editors/lpe
parent95faff136ae557eb38c7249cb644fd13b2e91d4c (diff)
downloadpkgsrc-c668b4c00bc0c293820aca105363bc2c448122d6.tar.gz
Unbreak by switching from post-patch sed with FILES_SUBST_SED to
SUBST framework, only one substitution here.
Diffstat (limited to 'editors/lpe')
-rw-r--r--editors/lpe/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/editors/lpe/Makefile b/editors/lpe/Makefile
index c707c956a13..afe7dbc762a 100644
--- a/editors/lpe/Makefile
+++ b/editors/lpe/Makefile
@@ -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 @@ CONFIGURE_ENV= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
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"