aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsps-devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-22 15:53:02 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-22 15:53:02 +0800
commit3dfd57f9561d0be21aefbe5d2b497ee1f114d522 (patch)
tree50c217d15c4a8917938d0b66b8ee8cdb95127bd3 /devel/cvsps-devel
parentc8cb6cbfcca8e3e1d7e17d984a217fadacb5e4aa (diff)
downloadfreebsd-ports-gnome-3dfd57f9561d0be21aefbe5d2b497ee1f114d522.tar.gz
freebsd-ports-gnome-3dfd57f9561d0be21aefbe5d2b497ee1f114d522.tar.zst
freebsd-ports-gnome-3dfd57f9561d0be21aefbe5d2b497ee1f114d522.zip
- Support staging
- Convert USE_GMAKE to USES
Diffstat (limited to 'devel/cvsps-devel')
-rw-r--r--devel/cvsps-devel/Makefile28
1 files changed, 12 insertions, 16 deletions
diff --git a/devel/cvsps-devel/Makefile b/devel/cvsps-devel/Makefile
index 4d2ccce5d8ba..3ba27720b32d 100644
--- a/devel/cvsps-devel/Makefile
+++ b/devel/cvsps-devel/Makefile
@@ -10,26 +10,22 @@ PKGNAMESUFFIX?= -devel
MAINTAINER= ports@FreeBSD.org
COMMENT= Create patchset information from CVS
-USE_GMAKE= yes
-ALL_TARGET= cvsps
+CONFLICTS= cvsps-[0-9]*
-CONFLICTS= cvsps-[12].[01]*
+USES= gmake
+ALL_TARGET= cvsps
-MAN1= cvsps.1
-PLIST_FILES= bin/cvsps
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
+PORTDOCS= *
-.if !defined(NOPORTDOCS)
-PORTDOCS= README
-.endif
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cvsps ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/cvsps.1 ${MANPREFIX}/man/man1
-
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>