freebsd-ports/graphics/tiled/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

35 lines
918 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= tiled
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= graphics editors games
MASTER_SITES= SF/tiled/tiled-qt/${PORTVERSION}
DISTNAME= tiled-qt-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= General purpose tile map editor
USES= qmake
USE_QT4= corelib gui opengl \
linguist_build moc_build uic_build rcc_build
USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|lrelease|&-qt4|' \
${WRKSRC}/translations/translations.pro
@${REINPLACE_CMD} -e 's|.*\(QT += opengl\)|\1|' \
${WRKSRC}/src/tiled/tiled.pro
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/docs/tiled.desktop
@${FIND} ${WRKSRC} -name "*.pro" -exec ${REINPLACE_CMD} -e 's|share/man|man|' {} \;
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>