From b045b7f6f4f40d9d0f70be62caa0ce8d200da859 Mon Sep 17 00:00:00 2001
From: antoine <antoine@FreeBSD.org>
Date: Sun, 3 Nov 2013 20:02:42 +0000
Subject: - Convert to STAGEDIR, the side effect is that the packages are fixed
 (this ports uses imake but didn't compress man pages)

---
 graphics/vcg/Makefile  |  7 ++-----
 graphics/vcg/pkg-plist | 10 ++++++++--
 2 files changed, 10 insertions(+), 7 deletions(-)

(limited to 'graphics/vcg')

diff --git a/graphics/vcg/Makefile b/graphics/vcg/Makefile
index 8c9053ac5dc0..59b9dbd50c32 100644
--- a/graphics/vcg/Makefile
+++ b/graphics/vcg/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	vcg
 PORTVERSION=	1.30
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	http://download.polytechnic.edu.na/pub2/openpkg1/sources/DST/vcg/ \
 		http://ftp.gwdg.de/linux/openpkg/openpkg-ftp/sources/DST/vcg/ \
@@ -23,9 +23,6 @@ USES=		imake:env
 USE_XORG=	x11 xext
 MAKE_JOBS_UNSAFE=	yes
 
-MANL=		pbmrot90.l pbmshift.l pbm2hp.l vcgdemomaker.l vcg.l xvcg.l
-
-NO_STAGE=	yes
 pre-patch:
 	@${MKDIR} ${WRKSRC}/preconf/X11ccFreeBSD
 .for file in conf demo.csh globals.h tMakefile
@@ -33,7 +30,7 @@ pre-patch:
 	        -e "s:%%CFLAGS%%:${CFLAGS}:g" \
 	        -e "s:%%MAKE%%:${MAKE}:g;" \
 		-e "s:%%LOCALBASE%%:${LOCALBASE}:g" \
-	        -e "s:%%PREFIX%%:${PREFIX}:g" \
+	        -e "s:%%PREFIX%%:${STAGEDIR}${PREFIX}:g" \
 	        -e "s:%%INSTALL_PROGRAM%%:${INSTALL_PROGRAM}:g" \
 	        -e "s:%%INSTALL_MAN%%:${INSTALL_MAN}:g" \
 		< ${FILESDIR}/${file} > ${WRKSRC}/preconf/X11ccFreeBSD/${file}
diff --git a/graphics/vcg/pkg-plist b/graphics/vcg/pkg-plist
index f300591be79d..67f0ae711916 100644
--- a/graphics/vcg/pkg-plist
+++ b/graphics/vcg/pkg-plist
@@ -1,5 +1,11 @@
-bin/xvcg
+bin/pbm2hp
 bin/pbmrot90
 bin/pbmshift
-bin/pbm2hp
 bin/vcgdemomaker
+bin/xvcg
+man/manl/pbm2hp.l.gz
+man/manl/pbmrot90.l.gz
+man/manl/pbmshift.l.gz
+man/manl/vcg.l.gz
+man/manl/vcgdemomaker.l.gz
+man/manl/xvcg.l.gz
-- 
cgit