From 2ea35f0425497696ab7f726d8e304af08044ebd7 Mon Sep 17 00:00:00 2001 From: netchild Date: Mon, 8 Mar 2004 08:07:33 +0000 Subject: - Fix fetch, the mastersite changed (but still is at aladdinsys.com) and the distfile was renamed (only the EXTRACT_SUFX changed and it still has the same content and checksum). - Some cleanup, no longer chmod(8) the distfile in DISTDIR executable without reason and add a do-build target to brandelf(1) the binaries instead of doing this in the do-install target so that the binaries in WRKDIR actually can be used after a `make all` run. Submitted by: Marius Strobl --- archivers/stuffit/Makefile | 14 +++++--------- archivers/stuffit/distinfo | 4 ++-- 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'archivers/stuffit') diff --git a/archivers/stuffit/Makefile b/archivers/stuffit/Makefile index 9c8e55d..4d2c9ac 100644 --- a/archivers/stuffit/Makefile +++ b/archivers/stuffit/Makefile @@ -8,12 +8,8 @@ PORTNAME= stuffit PORTVERSION= 5.2.0.611 CATEGORIES= archivers linux -MASTER_SITES= ftp://ftp.aladdinsys.com/pub/linux/StuffIt/ \ - ftp://ftp2.aladdinsys.com/pub/linux/StuffIt/ \ - ftp://ftp3.aladdinsys.com/pub/linux/StuffIt/ \ - ftp://ftp4.aladdinsys.com/pub/linux/StuffIt/ +MASTER_SITES= http://www.aladdinsys.com/downloads/files/ DISTNAME= stuffit520.611linux-i386 -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Stuffit Archive Creator and Expander @@ -24,7 +20,6 @@ NO_PACKAGE= Only unmodified original package can be distributed ONLY_FOR_ARCHS= i386 USE_LINUX= yes -NO_BUILD= yes STRIP= # empty: do not strip linux binary during INSTALL_PROGRAM WRKSRC= ${WRKDIR} STUFFIT_FILES= bin/unstuff bin/stuff @@ -33,13 +28,14 @@ PLIST_FILES= ${STUFFIT_FILES} MAN1= stuff.1 unstuff.1 -post-fetch: - @${CHMOD} a+x ${DISTDIR}/${DISTFILES} +do-build: +.for sFile in ${STUFFIT_FILES} + ${BRANDELF} -t Linux ${WRKSRC}/${sFile} +.endfor do-install: .for sFile in ${STUFFIT_FILES} ${INSTALL_PROGRAM} ${WRKSRC}/${sFile} ${PREFIX}/bin - ${BRANDELF} -t Linux ${PREFIX}/${sFile} .endfor .for mFile in ${STUFFIT_MAN} ${INSTALL_MAN} ${WRKSRC}/${mFile} ${MANPREFIX}/man/man1 diff --git a/archivers/stuffit/distinfo b/archivers/stuffit/distinfo index 1afa810..65d9d80 100644 --- a/archivers/stuffit/distinfo +++ b/archivers/stuffit/distinfo @@ -1,2 +1,2 @@ -MD5 (stuffit520.611linux-i386.tgz) = 9046256f7775cc8b324447c7c3e8f941 -SIZE (stuffit520.611linux-i386.tgz) = 1955619 +MD5 (stuffit520.611linux-i386.tar.gz) = 9046256f7775cc8b324447c7c3e8f941 +SIZE (stuffit520.611linux-i386.tar.gz) = 1955619 -- cgit v1.1