Bug 171362 - [MAINTAINER] games/cutemaze: Makefile simplified
Summary: [MAINTAINER] games/cutemaze: Makefile simplified
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Kozlov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-06 03:00 UTC by nemysis
Modified: 2012-09-07 22:04 UTC (History)
1 user (show)

See Also:


Attachments
cutemaze-1.1.0_3.patch (2.42 KB, patch)
2012-09-06 03:00 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-09-06 03:00:10 UTC
Makefile simplified

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Alex Kozlov freebsd_committer freebsd_triage 2012-09-07 17:52:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ak

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-09-07 21:08:40 UTC
Author: ak
Date: Fri Sep  7 20:08:28 2012
New Revision: 303823
URL: http://svn.freebsd.org/changeset/ports/303823

Log:
  - Simplify Makefile [1]
  - Remove deprecated comments at the top of Makefile
  - Remove indefinite article from COMMENT
  
  PR:	ports/171362 [1]
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer) [1]

Modified:
  head/games/cutemaze/Makefile
  head/games/cutemaze/pkg-plist   (contents, props changed)

Modified: head/games/cutemaze/Makefile
==============================================================================
--- head/games/cutemaze/Makefile	Fri Sep  7 19:42:02 2012	(r303822)
+++ head/games/cutemaze/Makefile	Fri Sep  7 20:08:28 2012	(r303823)
@@ -1,56 +1,38 @@
-# Ports collection Makefile for:	cutemaze
-# Date created:				2012-04-20
-# Whom:					nemysis@gmx.ch
-#
 # $FreeBSD$
-#
 
 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@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} ${QMAKEFLAGS} 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/)
-.endfor
+	@(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} oxygen ${PREFIX}/share/icons/)
 
-# 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}

Modified: head/games/cutemaze/pkg-plist
==============================================================================
--- head/games/cutemaze/pkg-plist	Fri Sep  7 19:42:02 2012	(r303822)
+++ head/games/cutemaze/pkg-plist	Fri Sep  7 20:08:28 2012	(r303823)
@@ -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 @@ share/pixmaps/cutemaze.png
 @dirrmtry share/icons/oxygen/22x22
 @dirrmtry share/icons/oxygen/16x16
 @dirrmtry share/icons/oxygen
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor
 @dirrmtry share/icons
 @dirrmtry share/applications
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2012-09-07 22:04:34 UTC
State Changed
From-To: open->closed

Per submitter request