ports/171362: [MAINTAINER] games/cutemaze: Makefile simplified

nemysis nemysis at gmx.ch
Thu Sep 6 02:00:11 UTC 2012


>Number:         171362
>Category:       ports
>Synopsis:       [MAINTAINER] games/cutemaze: 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 02:00:10 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:

--- cutemaze-1.1.0_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/cutemaze/Makefile ./Makefile
--- /usr/ports/games/cutemaze/Makefile	2012-08-28 02:50:44.000000000 +0200
+++ ./Makefile	2012-09-06 03:16:57.000000000 +0200
@@ -7,50 +7,40 @@
 
 PORTNAME=	cutemaze
 PORTVERSION=	1.1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/${PORTNAME}/
-EXTRACT_SUFX=	-src.tar.bz2
+DISTNAME=	${PORTNAME}-${DISTVERSION}-src
 
 MAINTAINER=	nemysis at gmx.ch
-COMMENT=	A simple, top-down game in which mazes are randomly generated
+COMMENT=	Simple, top-down game in which mazes are randomly generated
 
 LICENSE=	GPLv3
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
 USE_BZIP2=	yes
 USE_QT4=	moc_build qmake_build rcc_build uic_build iconengines imageformats
 INSTALLS_ICONS=	yes
-
 MAKE_JOBS_SAFE=	yes
 
-PORTDATA=	*
 PORTDOCS=	ChangeLog README
 
 .include <bsd.port.options.mk>
 
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
-		${QMAKE} ${QMAKEFLAGS}
-
-do-install:
-# Executable
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-# Data
-	${MKDIR} ${DATADIR}
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "preview themes" ${DATADIR})
+		${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
 
+post-install:
 # Icons
 	${MKDIR} ${PREFIX}/share/icons/oxygen
 .for d in icons
-	(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} oxygen ${PREFIX}/share/icons/)
+	@(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} oxygen ${PREFIX}/share/icons/)
 .endfor
 
-# Pixmaps and Desktop
+# Pixmaps
 	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
-	${MKDIR} ${PREFIX}/share/applications
-	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop \
-		${PREFIX}/share/applications/
 
 # Documentation
 .if ${PORT_OPTIONS:MDOCS}
diff -ruN --exclude=CVS /usr/ports/games/cutemaze/pkg-plist ./pkg-plist
--- /usr/ports/games/cutemaze/pkg-plist	2012-05-22 08:30:52.000000000 +0200
+++ ./pkg-plist	2012-09-06 03:42:16.000000000 +0200
@@ -1,5 +1,6 @@
 bin/cutemaze
 share/applications/cutemaze.desktop
+share/icons/hicolor/48x48/apps/cutemaze.png
 share/icons/oxygen/16x16/application-exit.png
 share/icons/oxygen/16x16/document-new.png
 share/icons/oxygen/16x16/games-config-options.png
@@ -33,5 +34,8 @@
 @dirrmtry share/icons/oxygen/22x22
 @dirrmtry share/icons/oxygen/16x16
 @dirrmtry share/icons/oxygen
+ at dirrmtry share/icons/hicolor/48x48/apps
+ at dirrmtry share/icons/hicolor/48x48
+ at dirrmtry share/icons/hicolor
 @dirrmtry share/icons
 @dirrmtry share/applications
--- cutemaze-1.1.0_3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list