ports/179777: devel/simpletest update and take maintainership
Danilo Egea Gondolfo
danilogondolfo at gmail.com
Thu Jun 20 16:40:00 UTC 2013
>Number: 179777
>Category: ports
>Synopsis: devel/simpletest update and take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 20 16:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Danilo Egea Gondolfo
>Release: FreeBSD 9.1-RELEASE
>Organization:
Universidade Estadual de Maringa
>Environment:
FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r252015: Thu Jun 20 01:15:50 BRT 2013 root at freebsd:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Changes:
- Update from 1.0.1 to 1.1.0
- Crop header
- Add license
- Add OPTIONS
- Take maintainership
- Change WWW
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 321387)
+++ Makefile (working copy)
@@ -1,19 +1,17 @@
-# Ports collection makefile for: simpletest
-# Date created: 16 August 2004
-# Whom: Roman Neuhauser (<neuhauser at chello.cz>)
-#
+# Created by: Roman Neuhauser (<neuhauser at chello.cz>)
# $FreeBSD$
-#
PORTNAME= simpletest
-PORTVERSION= 1.0.1
+PORTVERSION= 1.1.0
CATEGORIES= devel
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION:C/\.0//}
DISTNAME= ${PORTNAME:L}_${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= danilogondolfo at gmail.com
COMMENT= Unit testing, mock objects, and web testing framework for PHP
+LICENSE= LGPL
+
USE_PHP= pcre
USE_PHP_BUILD= yes
DEFAULT_PHP_VER=5
@@ -21,7 +19,11 @@
WRKSRC= ${WRKDIR}/${PORTNAME:L}
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
DOCFILES= HELP_MY_TESTS_DONT_WORK_ANYMORE README
HTMLDOCFILES= docs/en/*
.endif
@@ -33,7 +35,7 @@
cd ${WRKSRC}/ \
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
&& ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${DOCSDIR}/html
.for file in ${DOCFILES}
@@ -50,7 +52,7 @@
@${FIND} -s -d ${DATAFILES:S,^,${WRKSRC}/,} -type d \
| ${SED} -ne 's,^${WRKSRC}, at dirrm ${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm ${DATADIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${FIND} -s ${DOCSDIR} -not -type d \
| ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
@${FIND} -s -d ${DOCSDIR} -type d \
Index: distinfo
===================================================================
--- distinfo (revision 321387)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (simpletest_1.0.1.tar.gz) = 55034d6f180de7d2bbd32bc41ca31c98bc01fc05264cad0e7e8d3619f3d5ffd0
-SIZE (simpletest_1.0.1.tar.gz) = 269696
+SHA256 (simpletest_1.1.0.tar.gz) = c9843becf2cec9022e11a05c8e95ae9e8d23624054c5c4e8e2b68f153e98d665
+SIZE (simpletest_1.1.0.tar.gz) = 287537
Index: pkg-descr
===================================================================
--- pkg-descr (revision 321387)
+++ pkg-descr (working copy)
@@ -3,4 +3,4 @@
will need no explanation. It also adds JWebUnit style testing including
cookies, authentication and form handling
-WWW: http://sourceforge.net/projects/simpletest/
+WWW: http://simpletest.org
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list