Changeset View
Changeset View
Standalone View
Standalone View
games/allacrost/Makefile
Show All 40 Lines | |||||
EDITOR_DESC= Enable editor | EDITOR_DESC= Enable editor | ||||
EDITOR_USES= qmake:no_env qt:4 | EDITOR_USES= qmake:no_env qt:4 | ||||
EDITOR_USE= QT=corelib,gui,moc_build,opengl,qt3support | EDITOR_USE= QT=corelib,gui,moc_build,opengl,qt3support | ||||
EDITOR_CONFIGURE_ON= --enable-editor=yes | EDITOR_CONFIGURE_ON= --enable-editor=yes | ||||
EDITOR_CONFIGURE_OFF= --enable-editor=no | EDITOR_CONFIGURE_OFF= --enable-editor=no | ||||
.include <bsd.port.options.mk> | |||||
.if ${PORT_OPTIONS:MEDITOR} | |||||
DEPRECATED= Qt4 has been EOL since december 2015 | |||||
EXPIRATION_DATE= 2019-03-15 | |||||
.endif | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|-I/usr/include/|-I${LOCALBASE}/include/|g' \ | @${REINPLACE_CMD} -e 's|-I/usr/include/|-I${LOCALBASE}/include/|g' \ | ||||
${WRKSRC}/Makefile.in | ${WRKSRC}/Makefile.in | ||||
@${REINPLACE_CMD} -e 's|exit -1|exit 1|; /CXXFLAGS=/ d; \ | @${REINPLACE_CMD} -e 's|exit -1|exit 1|; /CXXFLAGS=/ d; \ | ||||
s|-lSDL |`${SDL_CONFIG} --libs` |' ${WRKSRC}/configure | s|-lSDL |`${SDL_CONFIG} --libs` |' ${WRKSRC}/configure | ||||
@${REINPLACE_CMD} -e '/^LIBS =/ s|$$| @INTLLIBS@|' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e '/^LIBS =/ s|$$| @INTLLIBS@|' ${WRKSRC}/Makefile.in | ||||
@${REINPLACE_CMD} -e '/^bindir = / s|games|bin|' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e '/^bindir = / s|games|bin|' ${WRKSRC}/Makefile.in | ||||
@${REINPLACE_CMD} -e '/qt4_incdirs/ s|".*"|"${QT_INCDIR}"|; \ | @${REINPLACE_CMD} -e '/qt4_incdirs/ s|".*"|"${QT_INCDIR}"|; \ | ||||
Show All 15 Lines |