From 0bb59d237013ddb39a06864c756d56c518dd19f0 Mon Sep 17 00:00:00 2001 From: vanilla Date: Mon, 13 Feb 2017 14:30:43 +0000 Subject: 1: Update to 1.2.0. 2: move to QT5. --- games/cutemaze/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'games/cutemaze/Makefile') diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile index 9fd9f4c5c474..18419bed23b8 100644 --- a/games/cutemaze/Makefile +++ b/games/cutemaze/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= cutemaze -PORTVERSION= 1.1.1 +PORTVERSION= 1.2.0 CATEGORIES= games MASTER_SITES= http://gottcode.org/${PORTNAME}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src @@ -11,12 +11,13 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Simple, top-down game in which mazes are randomly generated LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= qmake tar:bzip2 -USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \ - corelib gui svg +USE_QT5= buildtools core gui svg imageformats_run linguisttools \ + widgets INSTALLS_ICONS= yes PORTDOCS= ChangeLog NEWS README @@ -24,25 +25,20 @@ PORTDOCS= ChangeLog NEWS README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes -.include - -post-patch: -.if ! ${PORT_OPTIONS:MNLS} +post-patch-NLS-off: @${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \ ${WRKSRC}/cutemaze.pro -.endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - .for d in 16x16 22x22 scalable @(cd ${WRKSRC}/icons/oxygen && ${COPYTREE_SHARE} ${d} \ ${STAGEDIR}${PREFIX}/share/icons/oxygen) .endfor - ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -- cgit