aboutsummaryrefslogtreecommitdiffstats
path: root/devel/c4
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2008-05-20 06:54:19 +0800
committeraraujo <araujo@FreeBSD.org>2008-05-20 06:54:19 +0800
commit1dd5e94213289ffd7151608c44c6f1c6fc452aab (patch)
treea75f99604b0d89aaac393cb0afffd93b712e6087 /devel/c4
parentee4b517f861d1d67adb31e053106e201a7256c75 (diff)
downloadfreebsd-ports-gnome-1dd5e94213289ffd7151608c44c6f1c6fc452aab.tar.gz
freebsd-ports-gnome-1dd5e94213289ffd7151608c44c6f1c6fc452aab.tar.zst
freebsd-ports-gnome-1dd5e94213289ffd7151608c44c6f1c6fc452aab.zip
- Update MASTER_SITES.
- Respect NOPORTDOCS. - Bump PORTREVISION. Reported by: itetcu
Diffstat (limited to 'devel/c4')
-rw-r--r--devel/c4/Makefile7
-rw-r--r--devel/c4/pkg-plist4
2 files changed, 8 insertions, 3 deletions
diff --git a/devel/c4/Makefile b/devel/c4/Makefile
index e23d18325696..51730b01ca85 100644
--- a/devel/c4/Makefile
+++ b/devel/c4/Makefile
@@ -7,8 +7,9 @@
PORTNAME= c4
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES+= devel
-MASTER_SITES= ftp://ftp.perforce.com/perforce/utils/c4/
+MASTER_SITES= http://public.perforce.com/public/perforce/utils/c4/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= araujo@FreeBSD.org
@@ -21,10 +22,12 @@ MAN1= c4.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/c4 ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
${INSTALL_MAN} ${WRKSRC}/c4.1 ${PREFIX}/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
.include <bsd.port.mk>
diff --git a/devel/c4/pkg-plist b/devel/c4/pkg-plist
index 446a39875a0e..64412bc2b3a0 100644
--- a/devel/c4/pkg-plist
+++ b/devel/c4/pkg-plist
@@ -1,3 +1,5 @@
bin/c4
-%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/c4.pdf
+%%PORTDOCS%%%%DOCSDIR%%/c4.ps
%%PORTDOCS%%@dirrm %%DOCSDIR%%