freebsd-ports/archivers/macutils/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

47 lines
1.7 KiB
Makefile

# Created by: Joel Sutton <jsutton@bbcon.com.au>
# $FreeBSD$
PORTNAME= macutils
PORTVERSION= 2.0b3
CATEGORIES= archivers emulators
MASTER_SITES= SUNSITE/utils/compress
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities for Apple Macintosh files
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
BINDIR= ${STAGEDIR}${PREFIX}/bin
DOCFILES= README.crc README.hexbin README.macput README.unpit \
README.zoom README.crc.orig README.macget README.scan \
README.unsit ../README
OPTIONS_DEFINE= DOCS
# The distribution has a naff install target which doesn't install man
# pages so here is a decent one.
#
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/macunpack/macunpack ${BINDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/hexbin/hexbin ${BINDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/mixed/macsave ${BINDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/mixed/macstream ${BINDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/binhex/binhex ${BINDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/comm/tomac ${BINDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/comm/frommac ${BINDIR}/
${INSTALL_MAN} ${WRKSRC}/man/macunpack.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/hexbin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/macsave.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/macstream.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/binhex.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/tomac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/frommac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/macutil.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>