Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Sep 2012 02:55:37 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/171359: [MAINTAINER] games/connectagram: Makefile simplified
Message-ID:  <20120906005540.87C961065672@hub.freebsd.org>
Resent-Message-ID: <201209060100.q86109Dl002355@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171359
>Category:       ports
>Synopsis:       [MAINTAINER] games/connectagram: Makefile simplified
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 01:00:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Makefile simplified

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- connectagram-1.0.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/connectagram/Makefile ./Makefile
--- /usr/ports/games/connectagram/Makefile	2012-08-20 18:23:55.000000000 +0200
+++ ./Makefile	2012-09-06 02:48:08.000000000 +0200
@@ -20,28 +20,26 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 USE_BZIP2=	yes
-USE_QT_VER=	4
-QT_COMPONENTS=	moc_build qmake_build rcc_build corelib gui iconengines imageformats network
+USE_QT4=	moc_build qmake_build rcc_build corelib gui iconengines imageformats network
 INSTALLS_ICONS=	yes
-
 MAKE_JOBS_SAFE=	yes
 
+do-configure:
+	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+		${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
+
 PORTDATA=	*
 PORTDOCS=	ChangeLog
 
 PLIST_FILES=	bin/${PORTNAME} \
-	share/applications/${PORTNAME}.desktop \
-	share/icons/hicolor/48x48/apps/${PORTNAME}.png
+		share/applications/${PORTNAME}.desktop \
+		share/icons/hicolor/48x48/apps/${PORTNAME}.png
 
 PLIST_DIRSTRY=	share/icons/hicolor/48x48/apps \
-	share/icons/hicolor/48x48 \
-	share/icons/hicolor \
-	share/icons \
-	share/applications
-
-do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
-		${QMAKE} ${QMAKEFLAGS}
+		share/icons/hicolor/48x48 \
+		share/icons/hicolor \
+		share/icons \
+		share/applications
 
 .include <bsd.port.options.mk>
 
@@ -49,9 +47,7 @@
 # Documentation
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-.  for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.  endfor
+	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
--- connectagram-1.0.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120906005540.87C961065672>