c9b3d76515
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>
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# New ports collection makefile for: stuffit
|
|
# Date created: 12 Dec 2001
|
|
# Whom: Nathan Ahlstrom <nra@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= stuffit
|
|
PORTVERSION= 5.2.0.611
|
|
CATEGORIES= archivers linux
|
|
MASTER_SITES= http://www.aladdinsys.com/downloads/files/
|
|
DISTNAME= stuffit520.611linux-i386
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Stuffit Archive Creator and Expander
|
|
|
|
NO_CDROM= Shareware -- should not redistribute
|
|
NO_PACKAGE= Only unmodified original package can be distributed
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_LINUX= yes
|
|
STRIP= # empty: do not strip linux binary during INSTALL_PROGRAM
|
|
WRKSRC= ${WRKDIR}
|
|
STUFFIT_FILES= bin/unstuff bin/stuff
|
|
STUFFIT_MAN= man/man1/stuff.1 man/man1/unstuff.1
|
|
PLIST_FILES= ${STUFFIT_FILES}
|
|
|
|
MAN1= stuff.1 unstuff.1
|
|
|
|
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
|
|
.endfor
|
|
.for mFile in ${STUFFIT_MAN}
|
|
${INSTALL_MAN} ${WRKSRC}/${mFile} ${MANPREFIX}/man/man1
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|