From owner-freebsd-ports@FreeBSD.ORG Thu Nov 27 12:41:20 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60060314 for ; Thu, 27 Nov 2014 12:41:20 +0000 (UTC) Received: from toco-domains.de (mail.toco-domains.de [176.9.39.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BE5EE48 for ; Thu, 27 Nov 2014 12:41:19 +0000 (UTC) Received: from [0.0.0.0] (mail.toco-domains.de [176.9.39.170]) by toco-domains.de (Postfix) with ESMTPA id DF3CB1B22DD1 for ; Thu, 27 Nov 2014 13:41:17 +0100 (CET) Message-ID: <54771BED.3040408@toco-domains.de> Date: Thu, 27 Nov 2014 13:41:17 +0100 From: Torsten Zuehlsdorff User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: How to create a port with uncompressed distfile? References: <5476FFCF.6000504@toco-domains.de> In-Reply-To: <5476FFCF.6000504@toco-domains.de> Content-Type: multipart/mixed; boundary="------------080507070500020303080502" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2014 12:41:20 -0000 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 () # $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 --------------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--