2000-06-12 07:43:07 +00:00
|
|
|
# New ports collection makefile for: macutils
|
1997-06-04 03:46:57 +00:00
|
|
|
# Date created: 14th April 1997
|
1999-11-27 15:08:48 +00:00
|
|
|
# Whom: Joel Sutton <jsutton@bbcon.com.au>
|
1997-06-04 03:46:57 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1997-06-04 03:46:57 +00:00
|
|
|
#
|
1999-04-18 10:17:01 +00:00
|
|
|
|
2000-04-12 04:56:17 +00:00
|
|
|
PORTNAME= macutils
|
|
|
|
PORTVERSION= 2.0b3
|
2000-06-12 07:43:07 +00:00
|
|
|
CATEGORIES= archivers emulators
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= utils/compress
|
|
|
|
DISTNAME= ${PORTNAME}
|
1997-06-04 03:46:57 +00:00
|
|
|
|
2000-10-29 06:31:38 +00:00
|
|
|
MAINTAINER= ports@freebsd.org
|
1997-06-04 03:46:57 +00:00
|
|
|
|
2000-06-12 07:43:07 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
1997-06-04 03:46:57 +00:00
|
|
|
MAKEFILE= makefile
|
|
|
|
|
1999-06-23 02:03:22 +00:00
|
|
|
MAN1= macunpack.1 hexbin.1 macsave.1 macstream.1 binhex.1 tomac.1 \
|
|
|
|
frommac.1 macutil.1
|
|
|
|
|
1997-06-04 03:46:57 +00:00
|
|
|
BINDIR= ${PREFIX}/bin
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/macutils
|
|
|
|
DOCFILES= README.crc README.hexbin README.macput README.unpit \
|
|
|
|
README.zoom README.crc.orig README.macget README.scan \
|
|
|
|
README.unsit ../README
|
|
|
|
|
|
|
|
# The distribution has a naff install target which doesn't install man
|
|
|
|
# pages so here is a decent one.
|
|
|
|
#
|
|
|
|
do-install:
|
|
|
|
@${ECHO_MSG} "===> Installing binaries..."
|
|
|
|
${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}/
|
|
|
|
@${ECHO_MSG} "===> Installing man pages..."
|
1999-06-23 02:03:22 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/macunpack.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/hexbin.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/macsave.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/macstream.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/binhex.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/tomac.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/frommac.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/macutil.1 ${MANPREFIX}/man/man1
|
1997-06-04 03:46:57 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "===> Installing supplementary documents..."
|
2000-06-12 07:43:07 +00:00
|
|
|
-${MKDIR} ${DOCDIR}
|
|
|
|
.for file in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCDIR}/
|
|
|
|
.endfor
|
1997-06-04 03:46:57 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|