1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-07-02 14:51:04 +00:00
parent 266cb0a3b9
commit f4c817e506
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360203

View File

@ -37,7 +37,6 @@ OPERA_DESC= Use Opera as default browser
USES= dos2unix zip
DOS2UNIX_GLOB= linux.xml os.properties sahi.properties
NO_STAGE= yes
.include <bsd.port.options.mk>
SAHI_BUILD= 2011.07.19
@ -67,20 +66,19 @@ post-patch:
| ${XARGS} -0 ${REINPLACE_CMD}
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
post-install:
@${CP} ${DATADIR}/config/browser_types/linux.xml ${DATADIR}/userdata/config/browser_types.xml
@${CP} ${STAGEDIR}${DATADIR}/config/browser_types/linux.xml ${STAGEDIR}${DATADIR}/userdata/config/browser_types.xml
.for d in bin userdata/bin
@${CHMOD} ${BINMODE} ${DATADIR}/${d}/*
@${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/${d}/*
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MV} ${DATADIR}/docs ${DOCSDIR}
@${MV} ${STAGEDIR}${DATADIR}/docs ${STAGEDIR}${DOCSDIR}
.else
@${RM} -r ${DATADIR}/docs
@${RM} -r ${STAGEDIR}${DATADIR}/docs
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>