Date: Thu, 27 Nov 2014 13:41:17 +0100 From: Torsten Zuehlsdorff <mailinglists@toco-domains.de> To: freebsd-ports@freebsd.org Subject: Re: How to create a port with uncompressed distfile? Message-ID: <54771BED.3040408@toco-domains.de> In-Reply-To: <5476FFCF.6000504@toco-domains.de> References: <5476FFCF.6000504@toco-domains.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------080507070500020303080502 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 --------------080507070500020303080502 Content-Type: text/plain; charset=UTF-8; name="Makefile" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="Makefile" # Created by: Torsten Zühlsdorff (<ports@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= ports@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> --------------080507070500020303080502 Content-Type: text/plain; charset=UTF-8; name="distinfo" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="distinfo" SHA256 (phpunit-4.3.5.phar) = 993942147f1b79bfb4a006fb24b1d9f5542f11adefd4b0e01ac553759f911d40 SIZE (phpunit-4.3.5.phar) = 3328017 --------------080507070500020303080502 Content-Type: text/plain; charset=UTF-8; name="pkg-descr" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pkg-descr" 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 --------------080507070500020303080502--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54771BED.3040408>