diff options
author | shige <shige@FreeBSD.org> | 2001-06-14 23:53:53 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2001-06-14 23:53:53 +0800 |
commit | ed6883e3d63ad4d36da8da4d6ee58df80ea027af (patch) | |
tree | a5269c6d0cd74e1bce0fd62a82ec640833c9334a /graphics | |
parent | a1008698ca7d6b44ad41572983615348faf4c68b (diff) | |
download | freebsd-ports-gnome-ed6883e3d63ad4d36da8da4d6ee58df80ea027af.tar.gz freebsd-ports-gnome-ed6883e3d63ad4d36da8da4d6ee58df80ea027af.tar.zst freebsd-ports-gnome-ed6883e3d63ad4d36da8da4d6ee58df80ea027af.zip |
Fix by applying sf's patch.
Thanks, sf!
PR: ports/28123
Submitted by: Daniel Lang <dl@leo.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xv/Makefile | 8 | ||||
-rw-r--r-- | graphics/xv/files/patch-ad | 20 |
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)) + |