summaryrefslogtreecommitdiff
path: root/graphics/aview
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-19 01:40:55 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-19 01:40:55 +0000
commit3d00cd39e49eefb9671d3d195d2b27f7a820ce0f (patch)
tree48b400992500d3f77c53b3ce917045f9894994d5 /graphics/aview
parent3f2082dd6f7582f33e69425d4414a73264f8e590 (diff)
downloadpkgsrc-3d00cd39e49eefb9671d3d195d2b27f7a820ce0f.tar.gz
Replace use of FILES_SUBST_SED with SUBST.
Diffstat (limited to 'graphics/aview')
-rw-r--r--graphics/aview/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/aview/Makefile b/graphics/aview/Makefile
index befe1d4477e..aec5d793a23 100644
--- a/graphics/aview/Makefile
+++ b/graphics/aview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2005/12/29 06:21:42 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2006/01/19 01:40:55 joerg Exp $
#
DISTNAME= aview-1.3.0rc1
@@ -21,16 +21,16 @@ USE_LIBTOOL= yes
.include "../../mk/bsd.prefs.mk"
+SUBST_CLASSES+= programs
+SUBST_FILES.programs= Makefile.in
+SUBST_STAGE.programs= post-patch
+
.if (${MACHINE_ARCH} == "i386")
-FILES_SUBST+= BIN_PROGRAMS="aview aaflip"
+SUBST_SED.programs+= -e 's,@BIN_PROGRAMS@,aview aaflip,g'
.else
-FILES_SUBST+= BIN_PROGRAMS="aview"
+SUBST_SED.programs+= -e 's,@BIN_PROGRAMS@,aview,g'
.endif
-pre-configure:
- @${SED} ${FILES_SUBST_SED} ${WRKSRC}/Makefile.in > ${WRKDIR}/Makefile.in
- @${MV} ${WRKDIR}/Makefile.in ${WRKSRC}/
-
post-install:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aview/