Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 14:50:31 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337999 - in head: databases/vfront devel/cvs2html devel/fmake devel/libcfu devel/maven-ant-tasks devel/pybugz devel/rclint devel/ucpp
Message-ID:  <201312291450.rBTEoVek074224@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Sun Dec 29 14:50:31 2013
New Revision: 337999
URL: http://svnweb.freebsd.org/changeset/ports/337999

Log:
  Stage devel and database ports maintained by me.
  
  While here, add missing cvs dep and general cleanups

Modified:
  head/databases/vfront/Makefile
  head/devel/cvs2html/Makefile
  head/devel/fmake/Makefile
  head/devel/libcfu/Makefile
  head/devel/maven-ant-tasks/Makefile
  head/devel/maven-ant-tasks/pkg-descr
  head/devel/pybugz/Makefile
  head/devel/rclint/Makefile
  head/devel/ucpp/Makefile

Modified: head/databases/vfront/Makefile
==============================================================================
--- head/databases/vfront/Makefile	Sun Dec 29 14:48:48 2013	(r337998)
+++ head/databases/vfront/Makefile	Sun Dec 29 14:50:31 2013	(r337999)
@@ -1,4 +1,3 @@
-# Created by: crees
 # $FreeBSD$
 
 PORTNAME=	vfront
@@ -20,7 +19,6 @@ OPTIONS_MULTI=	database
 OPTIONS_MULTI_database=	MYSQL PGSQL
 OPTIONS_DEFAULT=	MYSQL PGSQL
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMYSQL}
@@ -45,10 +43,10 @@ pre-install:
 	    ${FIND} * -type d | ${SORT} -r | \
 			${SED} 's,^,@dirrmtry %%WWWDIR%%/,' >> ${PLIST})
 	@${ECHO_CMD} '@dirrmtry %%WWWDIR%%' >> ${PLIST}
+	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN} %D/%%WWWDIR%%' >> ${PLIST}
+	@${ECHO_CMD} '@exec ${CHMOD} 700 %D/%%WWWDIR%%/conf' >> ${PLIST}
 
 do-install:
-	(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR})
-	${CHOWN} -R ${WWWOWN} ${WWWDIR}
-	${CHMOD} 700 ${WWWDIR}/conf
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR})
 
 .include <bsd.port.mk>

Modified: head/devel/cvs2html/Makefile
==============================================================================
--- head/devel/cvs2html/Makefile	Sun Dec 29 14:48:48 2013	(r337998)
+++ head/devel/cvs2html/Makefile	Sun Dec 29 14:50:31 2013	(r337999)
@@ -16,19 +16,19 @@ COMMENT=	Perl script to turn ``cvs log''
 
 LICENSE=	GPLv2
 
+RUN_DEPENDS=	cvs:${PORTSDIR}/devel/cvs
+
 PLIST_FILES=	bin/cvs2html
-USES=		perl5
+NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
+USES=		perl5 shebangfix
+SHEBANG_FILES=	${PORTNAME}
 
-NO_STAGE=	yes
 do-extract:
-	@${MKDIR} ${WRKDIR}
-	@${CP} ${DISTDIR}/${PORTNAME} ${WRKDIR}
-
-post-patch:
-	${REINPLACE_CMD} -e '1s|\(#!\).*$$|\1${PERL}|' ${WRKDIR}/${PORTNAME}
+	@${MKDIR} ${WRKSRC}
+	@${CP} ${DISTDIR}/${PORTNAME} ${WRKSRC}
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/devel/fmake/Makefile
==============================================================================
--- head/devel/fmake/Makefile	Sun Dec 29 14:48:48 2013	(r337998)
+++ head/devel/fmake/Makefile	Sun Dec 29 14:50:31 2013	(r337999)
@@ -2,22 +2,22 @@
 
 PORTNAME=	fmake
 PORTVERSION=	r250982
+CATEGORIES=	devel
 MASTER_SITES=	LOCAL/crees/${PORTNAME}/ \
 		http://www.bayofrum.net/dist/${PORTNAME}/
-CATEGORIES=	devel
 
 MAINTAINER=	crees@FreeBSD.org
 COMMENT=	Legacy FreeBSD pmake
 
-PLIST_FILES=	bin/${PORTNAME}
-MAN1=		${PORTNAME}.1
+LICENSE=	BSD3CLAUSE # UCB third clause nullified
+
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
 MAKE_ARGS+=	PROG=fmake NO_MAN=yes
 
-NO_STAGE=	yes
 do-install:
-		${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-		${INSTALL_MAN} ${WRKSRC}/make.1 \
-			${MAN1PREFIX}/man/man1/${PORTNAME}.1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/make.1 \
+		${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
 
 .include <bsd.port.mk>

Modified: head/devel/libcfu/Makefile
==============================================================================
--- head/devel/libcfu/Makefile	Sun Dec 29 14:48:48 2013	(r337998)
+++ head/devel/libcfu/Makefile	Sun Dec 29 14:50:31 2013	(r337999)
@@ -8,7 +8,7 @@ MASTER_SITES=	GH
 MAINTAINER=	crees@FreeBSD.org
 COMMENT=	Simple library of tools for developing multithreaded software
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	crees
@@ -25,7 +25,6 @@ INFO=		${PORTNAME}
 
 # XXX: work around an issue with automake-1.13 erroring out on a
 #      non-existent m4 directory before libtoolize creates it
-NO_STAGE=	yes
 pre-configure::
 	@${MKDIR} ${WRKSRC}/m4
 

Modified: head/devel/maven-ant-tasks/Makefile
==============================================================================
--- head/devel/maven-ant-tasks/Makefile	Sun Dec 29 14:48:48 2013	(r337998)
+++ head/devel/maven-ant-tasks/Makefile	Sun Dec 29 14:50:31 2013	(r337999)
@@ -1,4 +1,3 @@
-# Created by: Chris Rees <utisoft@gmail.com>
 # $FreeBSD$
 
 PORTNAME=	maven-ant-tasks
@@ -10,21 +9,19 @@ EXTRACT_SUFX=	.jar
 EXTRACT_ONLY=
 
 MAINTAINER=	crees@FreeBSD.org
-COMMENT=	Allows Maven's artifact handling to be used from within an Ant build
-
-RUN_DEPENDS=	ant:${PORTSDIR}/devel/apache-ant
+COMMENT=	Allows Maven artifact handling to be used from within an Ant build
 
 LICENSE=	AL2
 
+RUN_DEPENDS=	ant:${PORTSDIR}/devel/apache-ant
+
 USE_JAVA=	1.5+
 
 NO_BUILD=	yes
-
 PLIST_FILES=	%%JAVASHAREDIR%%/apache-ant/lib/${DISTNAME}${EXTRACT_SUFX}
 
-NO_STAGE=	yes
 do-install:
 	@${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
-		${JAVASHAREDIR}/apache-ant/lib/
+		${STAGEDIR}${JAVASHAREDIR}/apache-ant/lib/
 
 .include <bsd.port.mk>

Modified: head/devel/maven-ant-tasks/pkg-descr
==============================================================================
--- head/devel/maven-ant-tasks/pkg-descr	Sun Dec 29 14:48:48 2013	(r337998)
+++ head/devel/maven-ant-tasks/pkg-descr	Sun Dec 29 14:50:31 2013	(r337999)
@@ -7,4 +7,4 @@ used from within an Ant build. These inc
       integrated, other with extensions)
     - POM processing - for reading and writing a Maven 2 pom.xml file
 
-WWW:	http://maven.apache.org/ant-tasks/index.html
+WWW: http://maven.apache.org/ant-tasks/index.html

Modified: head/devel/pybugz/Makefile
==============================================================================
--- head/devel/pybugz/Makefile	Sun Dec 29 14:48:48 2013	(r337998)
+++ head/devel/pybugz/Makefile	Sun Dec 29 14:50:31 2013	(r337999)
@@ -20,5 +20,4 @@ PLIST_FILES=	bin/bugz
 DATADIR=	${PYTHONPREFIX_SITELIBDIR}/bugz
 PORTDATA=	*
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/devel/rclint/Makefile
==============================================================================
--- head/devel/rclint/Makefile	Sun Dec 29 14:48:48 2013	(r337998)
+++ head/devel/rclint/Makefile	Sun Dec 29 14:50:31 2013	(r337999)
@@ -9,7 +9,7 @@ MASTER_SITES=	http://www.bayofrum.net/di
 MAINTAINER=	crees@FreeBSD.org
 COMMENT=	Checks rc scripts for style and common errors
 
-LICENSE=	BSD
+LICENSE=	BSD2CLAUSE
 
 NO_BUILD=	yes
 USE_PYTHON=	yes
@@ -18,16 +18,13 @@ SUB_FILES=	${PORTNAME}
 PLIST_FILES=	bin/${PORTNAME}
 PORTDATA=	${PORTNAME}.py errors.en
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -e "s,\(DATADIR = \)'\.',\1'${DATADIR}'," \
 		${WRKSRC}/${PORTNAME}.py
 
 do-install:
-	${MKDIR} ${DATADIR}
-.for f in ${PORTDATA}
-	${INSTALL_SCRIPT} ${WRKSRC}/$f ${DATADIR}
-.endfor
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${PORTDATA:S,^,${WRKSRC}/,} ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/devel/ucpp/Makefile
==============================================================================
--- head/devel/ucpp/Makefile	Sun Dec 29 14:48:48 2013	(r337998)
+++ head/devel/ucpp/Makefile	Sun Dec 29 14:50:31 2013	(r337999)
@@ -9,17 +9,15 @@ MASTER_SITES=	GOOGLE_CODE
 MAINTAINER=	crees@FreeBSD.org
 COMMENT=	A C preprocessor and lexer
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
-MAN1=		ucpp.1
-PLIST_FILES=	bin/ucpp
-USE_GMAKE=	yes
+PLIST_FILES=	bin/ucpp man/man1/ucpp.1.gz
+USES=		gmake
 
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= 	${WRKDIR}/${PORTNAME}
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312291450.rBTEoVek074224>