diff options
author | Veniamin Gvozdikov <vg@FreeBSD.org> | 2015-07-22 15:01:32 +0000 |
---|---|---|
committer | Veniamin Gvozdikov <vg@FreeBSD.org> | 2015-07-22 15:01:32 +0000 |
commit | 7b5bcd9f075512707019ce5be489d7f83d5cddc9 (patch) | |
tree | 13767380544544d589f9ce4ab7a200761d5d4cb5 /sysutils | |
parent | e30b1ca07a010f36cd7e8625e833ff23c98e4217 (diff) | |
download | ports-7b5bcd9f075512707019ce5be489d7f83d5cddc9.tar.gz ports-7b5bcd9f075512707019ce5be489d7f83d5cddc9.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/hfsexplorer/Makefile | 22 | ||||
-rw-r--r-- | sysutils/hfsexplorer/distinfo | 4 |
2 files changed, 14 insertions, 12 deletions
diff --git a/sysutils/hfsexplorer/Makefile b/sysutils/hfsexplorer/Makefile index 17a3badc895d..75fea9992c00 100644 --- a/sysutils/hfsexplorer/Makefile +++ b/sysutils/hfsexplorer/Makefile @@ -2,10 +2,8 @@ # $FreeBSD$ PORTNAME= hfsexplorer -PORTVERSION= 0.22.1 +PORTVERSION= 0.23 CATEGORIES= sysutils java -MASTER_SITES= SF/catacombae/HFSExplorer/${PORTVERSION}/ -DISTNAME= ${PORTNAME}-0_21-src MAINTAINER= vg@FreeBSD.org COMMENT= HFSExplorer read Mac-formatted harddisks and disk images @@ -18,20 +16,24 @@ DESKTOP_ENTRIES="hfsexplorer" "reader Mac-formatted harddisk" \ "${DATADIR}/res/icon.png" "${PORTNAME}" \ "System;Utility;Java;" false -USES= zip +USE_GITHUB= yes +GH_PROJECT= ${PORTNAME} +GH_ACCOUNT= unsound +GH_TAGNAME= ${PORTNAME}-${PORTVERSION} + USE_JAVA= yes JAVA_VERSION= 1.6+ OPTIONS_DEFINE= DOCS NO_ARCH= yes -WRKSRC= ${WRKDIR} +WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_PROJECT}-${DISTVERSION} .include <bsd.port.options.mk> do-configure: - @cd ${WRKSRC}/dist && ${REINPLACE_CMD} -e 's|lib/|${DATADIR}/lib/|g' \ + @cd ${WRKSRC}/dist/bin && ${REINPLACE_CMD} -e 's|BASEDIR=".*"|BASEDIR="${DATADIR}/lib"|g' \ hfsx.sh resview.sh unhfs.sh - @${REINPLACE_CMD} -e 's|lib|${DATADIR}/lib|g' \ - ${WRKSRC}/dist/runfsb.sh + @${REINPLACE_CMD} -e 's|BASEDIR=".*"|BASEDIR="${DATADIR}/lib"|g' \ + ${WRKSRC}/dist/bin/hfsexplorer.sh do-build: @cd ${WRKSRC} && ${SH} buildall.sh @@ -46,9 +48,9 @@ post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/lib @${MKDIR} ${STAGEDIR}${DATADIR}/res .for f in hfsx.sh resview.sh unhfs.sh - @cd ${WRKSRC} && ${INSTALL_SCRIPT} dist/${f} ${STAGEDIR}${PREFIX}/bin + @cd ${WRKSRC} && ${INSTALL_SCRIPT} dist/bin/${f} ${STAGEDIR}${PREFIX}/bin .endfor - @cd ${WRKSRC} && ${INSTALL_SCRIPT} dist/runfsb.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @cd ${WRKSRC} && ${INSTALL_SCRIPT} dist/bin/hfsexplorer.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @cd ${WRKSRC} && ${INSTALL_DATA} dist/lib/*.jar ${STAGEDIR}${DATADIR}/lib @cd ${WRKSRC} && ${INSTALL_DATA} dist/res/icon.png ${STAGEDIR}${DATADIR}/res diff --git a/sysutils/hfsexplorer/distinfo b/sysutils/hfsexplorer/distinfo index ae4c24dbbb1a..82c8ddf0f63a 100644 --- a/sysutils/hfsexplorer/distinfo +++ b/sysutils/hfsexplorer/distinfo @@ -1,2 +1,2 @@ -SHA256 (hfsexplorer-0_21-src.zip) = e7323180df5d468e31a5053411c4f811b15a7ad140802c2f6a60b16f0534e0f9 -SIZE (hfsexplorer-0_21-src.zip) = 2290547 +SHA256 (unsound-hfsexplorer-0.23-hfsexplorer-0.23_GH0.tar.gz) = 0fe0278114be05500b5c3d8334f7609f8b727f64d55b5b02158cfbb9ec0c5130 +SIZE (unsound-hfsexplorer-0.23-hfsexplorer-0.23_GH0.tar.gz) = 1143663 |