ports/171364: [MAINTAINER] games/tanglet: Makefile simplified
nemysis
nemysis at gmx.ch
Thu Sep 6 03:00:10 UTC 2012
>Number: 171364
>Category: ports
>Synopsis: [MAINTAINER] games/tanglet: 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 03: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:
--- tanglet-1.2.1_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/tanglet/Makefile ./Makefile
--- /usr/ports/games/tanglet/Makefile 2012-08-25 08:42:58.000000000 +0200
+++ ./Makefile 2012-09-06 04:53:22.000000000 +0200
@@ -7,48 +7,41 @@
PORTNAME= tanglet
PORTVERSION= 1.2.1
-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= Tanglet is a single player word finding game based on Boggle
+COMMENT= Single player word finding game based on Boggle
LICENSE= GPLv3
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
USE_BZIP2= yes
USE_QT4= moc_build qmake_build rcc_build corelib gui iconengines imageformats
INSTALLS_ICONS= yes
-
MAKE_JOBS_SAFE= yes
-PORTDATA= *
-PORTDOCS= CREDITS ChangeLog
-
-.include <bsd.port.options.mk>
-
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS}
+ ${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
-do-install:
-# Executable
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+PORTDATA= *
+PORTDOCS= CREDITS ChangeLog
-# Data
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data translations" ${DATADIR})
+.include <bsd.port.options.mk>
+post-install:
# Icons
cd ${WRKSRC}/icons && ${FIND} hicolor -type d -name apps -exec \
${MKDIR} ${PREFIX}/share/icons/{} \;
cd ${WRKSRC}/icons && ${FIND} hicolor -type f -exec \
${INSTALL_DATA} {} ${PREFIX}/share/icons/{} \;
-# 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/
+# Pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
# Documentation
.if ${PORT_OPTIONS:MDOCS}
--- tanglet-1.2.1_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list