Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2012 20:01:21 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168175: [MAINTAINER] games/cutemaze: Changed Makefile and pkg-plist
Message-ID:  <20120520180130.6BB30106566C@hub.freebsd.org>
Resent-Message-ID: <201205201810.q4KIA2h0063979@freefall.freebsd.org>

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

>Number:         168175
>Category:       ports
>Synopsis:       [MAINTAINER] games/cutemaze: Changed Makefile and pkg-plist
>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:   Sun May 20 18:10:01 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 changed
- removed DISTNAME
- removed not needed USE_GMAKE, HAS_CONFIGURE, CONFIGURE_ENV, MAKE_ENV
- simplified do-configure:
- simplified .if !defined (NOPORTDATA)

Adjusted pkg-plist

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

--- cutemaze-1.1.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/cutemaze/Makefile ./Makefile
--- /usr/ports/games/cutemaze/Makefile	2012-05-07 17:32:07.000000000 +0200
+++ ./Makefile	2012-05-20 19:39:17.000000000 +0200
@@ -1,5 +1,5 @@
 # Ports collection Makefile for:	cutemaze
-# Date created:				20 April 2012
+# Date created:				2012-04-20
 # Whom:					nemysis@gmx.ch
 #
 # $FreeBSD: ports/games/cutemaze/Makefile,v 1.1 2012/05/07 15:32:07 crees Exp $
@@ -7,9 +7,10 @@
 
 PORTNAME=	cutemaze
 PORTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/${PORTNAME}/
-DISTNAME=	${PORTNAME}-${DISTVERSION}-src
+EXTRACT_SUFX=	-src.tar.bz2
 
 MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Is a simple, top-down game in which mazes are randomly generated
@@ -17,39 +18,42 @@
 LICENSE=	GPLv3
 
 USE_BZIP2=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
-MAKE_JOBS_SAFE=	yes
 USE_QT_VER=	4
 QT_COMPONENTS=	moc_build qmake_build rcc_build uic_build iconengines imageformats
-USE_GMAKE=	yes
-HAS_CONFIGURE=	yes
-CONFIGURE_ENV+=	UIC="${UIC}" QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}"
-MAKE_ENV+=	QMAKESPEC="${QMAKESPEC}"
+INSTALLS_ICONS=	yes
+
+MAKE_JOBS_SAFE=	yes
 
 PORTDATA=	*
 PORTDOCS=	ChangeLog README
-INSTALLS_ICONS=	yes
 
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
-		${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
+		${QMAKE} ${QMAKEFLAGS}
 
 do-install:
+# Executable
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+# Icons
 	${MKDIR} ${PREFIX}/share/icons/oxygen
 .for d in icons
 	(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} oxygen ${PREFIX}/share/icons/)
 .endfor
+
+# Pixmaps and Desktop
 	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
 	${MKDIR} ${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop \
 		${PREFIX}/share/applications/
+
+# Data
 .if !defined (NOPORTDATA)
 	${MKDIR} ${DATADIR}
-.  for d in preview themes
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
-.  endfor
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "preview themes" ${DATADIR})
 .endif
+
+# Documentation
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 .  for f in ${PORTDOCS}
diff -ruN --exclude=CVS /usr/ports/games/cutemaze/pkg-plist ./pkg-plist
--- /usr/ports/games/cutemaze/pkg-plist	2012-05-07 17:32:07.000000000 +0200
+++ ./pkg-plist	2012-05-10 20:38:24.000000000 +0200
@@ -29,9 +29,9 @@
 share/icons/oxygen/scalable/zoom-in.svgz
 share/icons/oxygen/scalable/zoom-out.svgz
 share/pixmaps/cutemaze.png
-@dirrm share/icons/oxygen/scalable
-@dirrm share/icons/oxygen/22x22
-@dirrm share/icons/oxygen/16x16
-@dirrm share/icons/oxygen
+@dirrmtry share/icons/oxygen/scalable
+@dirrmtry share/icons/oxygen/22x22
+@dirrmtry share/icons/oxygen/16x16
+@dirrmtry share/icons/oxygen
 @dirrmtry share/icons
-@dirrm share/applications
+@dirrmtry share/applications
--- cutemaze-1.1.0_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?20120520180130.6BB30106566C>