12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- # $OpenBSD: Makefile,v 1.32 2017/05/19 23:23:11 espie Exp $
- COMMENT= hfsplus filesystem access tool
- VERSION= 1.0.4
- DISTNAME= hfsplus_${VERSION}
- PKGNAME= hfsplus-${VERSION}
- REVISION= 6
- SHARED_LIBS= hfsp 0.0
- CATEGORIES= misc
- # GPL
- PERMIT_PACKAGE_CDROM= Yes
- WANTLIB= c
- MASTER_SITES= https://distfiles.nl/
- EXTRACT_SUFX= .src.tar.bz2
- USE_GMAKE= Yes
- AUTOCONF_VERSION= 2.59
- AUTOMAKE_VERSION= 1.9
- BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
- ${MODGNU_AUTOMAKE_DEPENDS}
- # needs the AM_PROG_LIBTOOL macro
- BUILD_DEPENDS+= devel/libtool
- CONFIGURE_STYLE= gnu
- CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- CFLAGS="${CFLAGS} -fgnu89-inline"
- WRKDIST= ${WRKDIR}/hfsplus-${VERSION}
- DOC= bugs.html hfsp.html libhfsp.html
- post-patch:
- @cd ${WRKDIST} && ln -s ${LOCALBASE}/share/libtool/config/ltmain.sh \
- @cd ${WRKDIST} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
- AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
- ${MAKE_PROGRAM} -f Makefile.cvs all
- post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hfsplus/
- .for h in ${DOC}
- ${INSTALL_DATA} ${WRKSRC}/doc/${h} ${PREFIX}/share/doc/hfsplus/
- .endfor
- .include <bsd.port.mk>
|