2009-03-16 15:46:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2009/03/16 19:46:57 sthen Exp $
|
2002-03-30 15:46:26 -05:00
|
|
|
|
2007-09-15 19:54:16 -04:00
|
|
|
COMMENT= hfsplus filesystem access tool
|
2002-03-30 15:46:26 -05:00
|
|
|
|
2002-03-30 15:50:58 -05:00
|
|
|
# this only makes sense on macintosh (powerpc) systems.
|
|
|
|
ONLY_FOR_ARCHS= powerpc
|
|
|
|
|
2003-01-04 20:59:34 -05:00
|
|
|
VERSION= 1.0.4
|
|
|
|
DISTNAME= hfsplus_${VERSION}
|
2007-11-21 09:30:35 -05:00
|
|
|
PKGNAME= hfsplus-${VERSION}p2
|
2003-01-04 20:59:34 -05:00
|
|
|
WRKDIST= ${WRKDIR}/hfsplus-${VERSION}
|
2002-03-30 15:46:26 -05:00
|
|
|
CATEGORIES= misc
|
2003-01-04 20:59:34 -05:00
|
|
|
EXTRACT_SUFX= .src.tar.bz2
|
2002-03-30 15:46:26 -05:00
|
|
|
|
2003-01-04 20:59:34 -05:00
|
|
|
# GPL
|
2002-03-30 21:26:04 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2007-11-21 09:30:35 -05:00
|
|
|
|
|
|
|
WANTLIB= c
|
2002-03-30 15:46:26 -05:00
|
|
|
|
2004-07-23 00:30:26 -04:00
|
|
|
AUTOCONF_VERSION= 2.59
|
2009-03-16 15:46:57 -04:00
|
|
|
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
|
2002-03-30 15:46:26 -05:00
|
|
|
LIB_DEPENDS= utf8::misc/libutf8
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2005-12-25 17:56:32 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2002-03-30 15:46:26 -05:00
|
|
|
|
2007-07-01 16:56:41 -04:00
|
|
|
MASTER_SITES= http://penguinppc.org/historical/hfsplus/
|
2002-03-30 15:46:26 -05:00
|
|
|
|
|
|
|
# actually uses automake/autoheader, but that is done in pre-configure now
|
2005-01-11 02:16:01 -05:00
|
|
|
CONFIGURE_STYLE=automake
|
2002-08-07 14:17:49 -04:00
|
|
|
CONFIGURE_ENV= LIBS="-lutf8" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-03-30 15:46:26 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}
|
2005-12-25 17:56:32 -05:00
|
|
|
SHARED_LIBS= hfsp 0.0
|
2002-03-30 15:46:26 -05:00
|
|
|
|
|
|
|
pre-configure:
|
2005-01-11 02:16:01 -05:00
|
|
|
@cd ${WRKDIST} && AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
${MAKE_PROGRAM} -f Makefile.cvs all
|
2002-03-30 15:46:26 -05:00
|
|
|
|
2007-07-01 16:56:41 -04:00
|
|
|
DOC=bugs.html hfsp.html libhfsp.html
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hfsplus/
|
|
|
|
|
|
|
|
.for h in ${DOC}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${h} ${PREFIX}/share/doc/hfsplus/
|
|
|
|
.endfor
|
|
|
|
|
2002-03-30 15:46:26 -05:00
|
|
|
.include <bsd.port.mk>
|