aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2004-03-08 16:07:33 +0800
committernetchild <netchild@FreeBSD.org>2004-03-08 16:07:33 +0800
commit2ea35f0425497696ab7f726d8e304af08044ebd7 (patch)
tree92ab393342c4e5ce32e9a1f9c8b5afba6bfea10b /archivers
parentd6cef78f243ff4e098c7af3899dd1e4d82d6b854 (diff)
downloadfreebsd-ports-graphics-2ea35f0425497696ab7f726d8e304af08044ebd7.tar.gz
freebsd-ports-graphics-2ea35f0425497696ab7f726d8e304af08044ebd7.tar.zst
freebsd-ports-graphics-2ea35f0425497696ab7f726d8e304af08044ebd7.zip
- 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 <marius@alchemy.franken.de>
Diffstat (limited to 'archivers')
-rw-r--r--archivers/stuffit/Makefile14
-rw-r--r--archivers/stuffit/distinfo4
2 files changed, 7 insertions, 11 deletions
diff --git a/archivers/stuffit/Makefile b/archivers/stuffit/Makefile
index 9c8e55df213..4d2c9ac9b40 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 1afa810d6b4..65d9d806a92 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