summaryrefslogtreecommitdiff
path: root/graphics/xv
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>2001-06-14 15:53:53 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>2001-06-14 15:53:53 +0000
commitaf5117e59eea6fb842dac0681717cd14dcd3c855 (patch)
treeeab54d90ce2dc51321432bf40b834adb9b3c086a /graphics/xv
parentUpdate irchat-pj/dcc to 2.5.5, pure to 0.5. (diff)
Fix by applying sf's patch.
Thanks, sf! PR: ports/28123 Submitted by: Daniel Lang <dl@leo.org>
Diffstat (limited to '')
-rw-r--r--graphics/xv/Makefile8
-rw-r--r--graphics/xv/files/patch-ad20
2 files changed, 23 insertions, 5 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile
index 212be9924fb5..e7a85552f241 100644
--- a/graphics/xv/Makefile
+++ b/graphics/xv/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xv
PORTVERSION= 3.10a
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES+= graphics
MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ \
${MASTER_SITE_LOCAL} \
@@ -41,7 +41,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_IMAKE= yes
.if !defined(NOMAN)
-MAN1= bggen.1 vdcomp.1 xcmap.1 xv.1 xvpictoppm.1
+MAN1= bggen.1 vdcomp.1 xcmap.1 xv.1 xvp2p.1
.endif
XVDIST= ${DISTDIR}/${DIST_SUBDIR}
@@ -59,6 +59,10 @@ post-patch:
@${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.in
@${CAT} ${WRKSRC}/config.h.in | \
${SED} -e "s@%%LOCALBASE%%@${LOCALBASE}@" > ${WRKSRC}/config.h
+.for i in ${MAN1}
+ @${CP} ${WRKSRC}/docs/${i:R}.man ${WRKSRC}
+.endfor
+
post-install:
.if !defined(NOPORTDOCS)
diff --git a/graphics/xv/files/patch-ad b/graphics/xv/files/patch-ad
index b8103dd51b51..776bffa91580 100644
--- a/graphics/xv/files/patch-ad
+++ b/graphics/xv/files/patch-ad
@@ -1,5 +1,5 @@
---- Imakefile.orig Wed Oct 7 22:24:59 1998
-+++ Imakefile Wed Oct 7 22:27:00 1998
+--- Imakefile.orig Thu Jun 14 00:25:24 2001
++++ Imakefile Thu Jun 14 00:26:01 2001
@@ -6,13 +6,15 @@
/* if, for whatever reason, you're unable to get the JPEG library to compile
* on your machine, *COMMENT OUT* the following line
@@ -80,7 +80,7 @@
InstallProgram(xv,$(BINDIR))
-@@ -266,7 +282,7 @@
+@@ -266,16 +282,16 @@
InstallProgram(xvpictoppm,$(BINDIR))
#ifdef HavePDS
@@ -89,3 +89,17 @@
InstallProgram(vdcomp,$(BINDIR))
#endif
+
+-InstallManPageLong(docs/xv,$(MANDIR),xv)
+-InstallManPageLong(docs/bggen,$(MANDIR),bggen)
+-InstallManPageLong(docs/xcmap,$(MANDIR),xcmap)
+-InstallManPageLong(docs/xvp2p,$(MANDIR),xvpictoppm)
+-InstallManPageLong(docs/vdcomp,$(MANDIR),vdcomp)
++InstallManPage(xv,$(MANDIR))
++InstallManPage(bggen,$(MANDIR))
++InstallManPage(xcmap,$(MANDIR))
++InstallManPage(xvp2p,$(MANDIR))
++InstallManPage(vdcomp,$(MANDIR))
+
+ InstallNonExecFile(xv_mgcsfx.sample,$(MGCSFXDIR))
+