ports/171358: [MAINTAINER] games/simsu: Makefile simplified
nemysis
nemysis at gmx.ch
Thu Sep 6 00:30:02 UTC 2012
>Number: 171358
>Category: ports
>Synopsis: [MAINTAINER] games/simsu: 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 00:30:02 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:
--- simsu-1.2.2_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/simsu/Makefile ./Makefile
--- /usr/ports/games/simsu/Makefile 2012-09-01 15:39:34.000000000 +0200
+++ ./Makefile 2012-09-06 02:19:58.000000000 +0200
@@ -7,54 +7,35 @@
PORTNAME= simsu
PORTVERSION= 1.2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
-EXTRACT_SUFX= -src.tar.bz2
+DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= nemysis at gmx.ch
COMMENT= Simsu is a basic Sudoku game
LICENSE= GPLv3
-USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_BZIP2= yes
+USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats
INSTALLS_ICONS= yes
-HAS_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
-CONFIGURE_ENV+= UIC="${UIC}" QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}"
-MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"
-
-USE_GMAKE= yes
-MAKE_JOBS_SAFE= yes
-
PORTDATA= *
PORTDOCS= CREDITS ChangeLog
.include <bsd.port.options.mk>
-do-install:
-# Executable
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-# Data
- ${MKDIR} ${DATADIR}
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} "symmetry translations" ${DATADIR})
-
-# Icons
- ${MKDIR} ${PREFIX}/share/icons/hicolor
-.for d in icons
- @(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons/)
-.endfor
-
-# Pixmaps and Desktop
- ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_32.xpm ${PREFIX}/share/pixmaps/
- ${MKDIR} ${PREFIX}/share/applications
- ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/
+post-install:
+# Pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/icons/hicolor/48x48/apps/simsu.png ${PREFIX}/share/pixmaps/
# Documentation
.if ${PORT_OPTIONS:MDOCS}
diff -ruN --exclude=CVS /usr/ports/games/simsu/pkg-plist ./pkg-plist
--- /usr/ports/games/simsu/pkg-plist 2012-05-13 12:12:22.000000000 +0200
+++ ./pkg-plist 2012-09-06 02:11:14.000000000 +0200
@@ -9,5 +9,5 @@
share/icons/hicolor/48x48/apps/simsu.png
share/icons/hicolor/64x64/apps/simsu.png
share/icons/hicolor/scalable/apps/simsu.svg
-share/pixmaps/simsu_32.xpm
+share/pixmaps/simsu.png
@dirrmtry share/applications
--- simsu-1.2.2_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list