2013-05-21 11:05:14 +02:00
|
|
|
# Created by: Jean-Marc Zucconi <jmz@FreeBSD.org>
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1995-04-15 05:46:07 +02:00
|
|
|
|
2000-04-12 06:56:17 +02:00
|
|
|
PORTNAME= hfs
|
2013-05-21 11:05:14 +02:00
|
|
|
DISTVERSION= 0_37
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
1996-11-12 03:19:40 +01:00
|
|
|
CATEGORIES= emulators
|
2013-05-21 11:05:14 +02:00
|
|
|
MASTER_SITES= LOCAL/jmz
|
|
|
|
DISTNAME= ${PORTNAME}${DISTVERSION}
|
1995-04-15 05:46:07 +02:00
|
|
|
|
2008-11-29 01:11:56 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-05-21 11:05:14 +02:00
|
|
|
COMMENT= Read Macintosh HFS floppy disks, hard drives, and CD-ROMs
|
|
|
|
|
2013-05-27 13:07:49 +02:00
|
|
|
LICENSE= GPLv2
|
1994-11-18 00:15:38 +01:00
|
|
|
|
2008-03-14 17:13:06 +01:00
|
|
|
CONFLICTS= hfsutils-[0-9]*
|
2005-09-22 19:03:13 +02:00
|
|
|
|
2013-07-14 04:38:17 +02:00
|
|
|
DEPRECATED= No upstream, no public distfiles; consider using 'sysutils/hfsutils'
|
2013-05-23 06:07:09 +02:00
|
|
|
|
1995-04-15 05:46:07 +02:00
|
|
|
USE_GMAKE= yes
|
2013-05-21 11:05:14 +02:00
|
|
|
MAKE_ARGS= CCPLUSPLUS="${CXX} -c" LD="${CXX}" DEBUG="${CFLAGS}" \
|
|
|
|
INSTALLPATH="${PREFIX}" MANINSTALLDIR="${MANPREFIX}/man/man1"
|
|
|
|
|
2013-05-21 14:13:53 +02:00
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2013-05-21 11:05:14 +02:00
|
|
|
PORTDOCS= README
|
|
|
|
|
2013-05-21 14:13:53 +02:00
|
|
|
OPTIONS_DEFINE= ALIASES DOCS
|
|
|
|
ALIASES_DESC= Install subcommand symbolic links
|
2013-05-21 11:05:14 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
1995-04-15 05:46:07 +02:00
|
|
|
|
2013-05-21 14:13:53 +02:00
|
|
|
.if ${PORT_OPTIONS:MALIASES}
|
|
|
|
ALIASES= bin/hcat bin/hcd bin/hdir bin/hls bin/hpwd bin/hread
|
|
|
|
PLIST_FILES+= ${ALIASES}
|
|
|
|
.endif
|
|
|
|
|
2007-10-05 00:20:22 +02:00
|
|
|
post-patch:
|
2013-05-21 11:05:14 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/.* ||' ${WRKSRC}/Makefile
|
2007-10-05 00:20:22 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|Volume::Enumerate|Enumerate|' \
|
|
|
|
${WRKSRC}/volume.h
|
|
|
|
|
2013-05-21 11:05:14 +02:00
|
|
|
post-install:
|
2013-05-21 14:13:53 +02:00
|
|
|
.if ${PORT_OPTIONS:MALIASES}
|
|
|
|
. for l in ${ALIASES}
|
|
|
|
${LN} -sf ${PORTNAME} ${PREFIX}/${l}
|
|
|
|
. endfor
|
|
|
|
.endif
|
2013-05-21 11:05:14 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
1996-11-12 03:19:40 +01:00
|
|
|
|
2007-10-05 00:20:22 +02:00
|
|
|
.include <bsd.port.mk>
|