mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Enable stage support
This commit is contained in:
parent
0a73097383
commit
a123b618c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342823
@ -11,10 +11,9 @@ MAINTAINER= johans@FreeBSD.org
|
|||||||
COMMENT= The Butterfly Effect
|
COMMENT= The Butterfly Effect
|
||||||
|
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
|
BUILD_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
|
||||||
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
|
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
|
||||||
|
|
||||||
USES= qmake
|
USES= qmake gmake
|
||||||
USE_GMAKE= yes
|
|
||||||
USE_QT4= corelib gui moc_build rcc_build svg uic_build xml
|
USE_QT4= corelib gui moc_build rcc_build svg uic_build xml
|
||||||
WRKSRC= ${WRKDIR}/TheButterflyEffect-M${PORTVERSION}rc3
|
WRKSRC= ${WRKDIR}/TheButterflyEffect-M${PORTVERSION}rc3
|
||||||
|
|
||||||
@ -25,7 +24,6 @@ DESKTOP_ENTRIES="The Butterfly Effect" "Inspired by The Incredible Machine" \
|
|||||||
"${DATADIR}/images/tbe-icon.png" \
|
"${DATADIR}/images/tbe-icon.png" \
|
||||||
"${PREFIX}/bin/tbe" "LogicGame;Game;" false
|
"${PREFIX}/bin/tbe" "LogicGame;Game;" false
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} 's/ make/ ${GMAKE}/' \
|
@${REINPLACE_CMD} 's/ make/ ${GMAKE}/' \
|
||||||
${WRKSRC}/3rdParty/Makefile
|
${WRKSRC}/3rdParty/Makefile
|
||||||
@ -40,12 +38,8 @@ pre-configure:
|
|||||||
@cd ${WRKSRC}/3rdParty && ${GMAKE}
|
@cd ${WRKSRC}/3rdParty && ${GMAKE}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${PREFIX}/bin
|
@${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${DATADIR}
|
||||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
||||||
@${MKDIR} ${DATADIR}
|
cd ${WRKSRC} && ${PAX} -rw images levels ${STAGEDIR}${DATADIR}
|
||||||
@cd ${WRKSRC} && ${PAX} -rw images levels ${DATADIR}
|
|
||||||
|
|
||||||
post-install:
|
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user