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