Hello,
i'm nearly done with the new port. But i have a last problem.
In short the installation procedure:
- downloading the .phar file
- copying the .phar file into stagedir (because its the complete programm)
- renaming the file from "phpunit-$version.phar" to "phpunit" (without
suffix)
- setting +x rights to "phpunit"
The last one i did not get right. I believe i have to use
${INSTALL_PROGRAM} but i make something wrong. Can somebody help?
I've attached the current progress.
Thank you very much,
Torsten
# Created by: Torsten Zühlsdorff (<po...@toco-domains.de>)
# $FreeBSD$
PORTNAME= PHPUnit
PORTVERSION= 4.3.5
CATEGORIES= devel www
MASTER_SITES= https://phar.phpunit.de/ \
http://ports.toco-domains.de/
DISTNAME=phpunit-${PORTVERSION}
EXTRACT_SUFX=.phar
EXTRACT_ONLY= #none
MAINTAINER= po...@toco-domains.de
COMMENT= Testing framework for unit tests
LICENSE= BSD4CLAUSE
CONFLICTS= pear-PHPUnit-[123]*
USE_PHP= dom json spl pcre
NO_BUILD= yes
PLIST_FILES= bin/phpunit
WRKSRC= ${DISTDIR}
do-install:
${MKDIR} ${STAGEDIR}
(cd ${WRKSRC} && ${CP} ${DISTNAME}${EXTRACT_SUFX}
${STAGEDIR}${PREFIX}/bin/phpunit)
.include <bsd.port.mk>
SHA256 (phpunit-4.3.5.phar) =
993942147f1b79bfb4a006fb24b1d9f5542f11adefd4b0e01ac553759f911d40
SIZE (phpunit-4.3.5.phar) = 3328017
PHPUnit is a regression testing framework used by the developer
who implements unit tests in PHP. It is based upon JUnit, which
can be found at http://www.junit.org/.
WWW: http://www.phpunit.de
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"