summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-11-20 13:21:02 +0000
committeragc <agc@pkgsrc.org>1997-11-20 13:21:02 +0000
commit748e7bb2af90aca96d84ec6627259d175eef4613 (patch)
treee29a258310838c7a6f9d682adf9617fd78dea387 /graphics
parent81e21be5fbbbb9a735c3524763193113e7fba30e (diff)
downloadpkgsrc-748e7bb2af90aca96d84ec6627259d175eef4613.tar.gz
Add NetBSD RCS Id.
Add preformatted manual pages. Add an additional step which substitutes ${LOCALBASE} for the hardcoded '/usr/local' in the Imakefile, done at pre-configuration time.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xv/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile
index c2c427109d5..e8c49b63cab 100644
--- a/graphics/xv/Makefile
+++ b/graphics/xv/Makefile
@@ -3,6 +3,7 @@
# Date created: 30 October 1994
# Whom: smace
#
+# $NetBSD: Makefile,v 1.2 1997/11/20 13:21:02 agc Exp $
# FreeBSD Id: Makefile,v 1.14 1997/07/03 07:37:08 asami Exp
#
@@ -22,9 +23,16 @@ LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \
USE_IMAKE= yes
+CAT1= bggen.0 vdcomp.0 xcmap.0 xv.0 xvpictoppm.0
+
pre-patch:
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/Patch.magpic2.PhotoCD.XV310a
+pre-configure:
+ for f in `find ${WRKDIR} -name Imakefile -print`; do \
+ ${SED} -e 's:/usr/local:'${LOCALBASE}':g' < $$f > $$f.pdone && mv $$f.pdone $$f; \
+ done
+
post-install:
${MKDIR} ${PREFIX}/share/doc/xv
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xv