summaryrefslogtreecommitdiffstats
path: root/sysutils/hfsexplorer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/hfsexplorer/Makefile')
-rw-r--r--sysutils/hfsexplorer/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/sysutils/hfsexplorer/Makefile b/sysutils/hfsexplorer/Makefile
index 09909ff..7339ff2 100644
--- a/sysutils/hfsexplorer/Makefile
+++ b/sysutils/hfsexplorer/Makefile
@@ -27,8 +27,6 @@ OPTIONS_DEFINE= DOCS
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_PROJECT}-${DISTVERSION}
-.include <bsd.port.options.mk>
-
do-configure:
@cd ${WRKSRC}/dist/bin && ${REINPLACE_CMD} -e 's|BASEDIR=".*"|BASEDIR="${DATADIR}/lib"|g' \
hfsx.sh resview.sh unhfs.sh
@@ -39,12 +37,6 @@ do-build:
@cd ${WRKSRC} && ${SH} buildall.sh
do-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC}/dist/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}/
-.endif
-
-post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/lib
@${MKDIR} ${STAGEDIR}${DATADIR}/res
.for f in hfsx.sh resview.sh unhfs.sh
@@ -54,4 +46,8 @@ post-install:
@cd ${WRKSRC} && ${INSTALL_DATA} dist/lib/*.jar ${STAGEDIR}${DATADIR}/lib
@cd ${WRKSRC} && ${INSTALL_DATA} dist/res/icon.png ${STAGEDIR}${DATADIR}/res
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/dist/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}/
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud