aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-11 05:11:45 +0800
committerbapt <bapt@FreeBSD.org>2013-12-11 05:11:45 +0800
commit2c3234057937057e07e868182621560bac3ed07a (patch)
treef39898b6bc0d2fbdadbf53bd20d36356023fa704
parent4af6a8ca5a3d5421a1474626d1d0b5872c69a584 (diff)
downloadfreebsd-ports-gnome-2c3234057937057e07e868182621560bac3ed07a.tar.gz
freebsd-ports-gnome-2c3234057937057e07e868182621560bac3ed07a.tar.zst
freebsd-ports-gnome-2c3234057937057e07e868182621560bac3ed07a.zip
Support stage
-rw-r--r--devel/c4/Makefile19
-rw-r--r--devel/c4/pkg-plist1
2 files changed, 8 insertions, 12 deletions
diff --git a/devel/c4/Makefile b/devel/c4/Makefile
index 5074cab6ea3f..1f942ec7d4b2 100644
--- a/devel/c4/Makefile
+++ b/devel/c4/Makefile
@@ -8,22 +8,17 @@ CATEGORIES+= devel
MASTER_SITES= http://public.perforce.com/public/perforce/utils/c4/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A CVS-like Frontend to Perforce
+COMMENT= CVS-like Frontend to Perforce
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ALL_TARGET= c4
-MAN1= c4.1
-
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/c4 ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/c4.1 ${MAN1PREFIX}/man/man1/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/c4.pdf ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/c4.ps ${DOCSDIR}/
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/c4 ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/c4.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/c4.pdf ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/c4.ps ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
diff --git a/devel/c4/pkg-plist b/devel/c4/pkg-plist
index 64412bc2b3a0..8156597f6d8f 100644
--- a/devel/c4/pkg-plist
+++ b/devel/c4/pkg-plist
@@ -1,4 +1,5 @@
bin/c4
+man/man1/c4.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/c4.pdf
%%PORTDOCS%%%%DOCSDIR%%/c4.ps