ports/179948: [MAINTAINER] graphics/founts: Trim to use only GCC, add desktop entry
nemysis
nemysis at gmx.ch
Tue Jun 25 07:50:03 UTC 2013
>Number: 179948
>Category: ports
>Synopsis: [MAINTAINER] graphics/founts: Trim to use only GCC, add desktop entry
>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: Tue Jun 25 07:50:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE-p8 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8 #0: Tue Jun 18 15:25:28 UTC 2013
>Description:
- Bump portrevision
- Shorten header
- Trim master sites
- Add Icons
- Remove leading article from COMMENT
- Trim to use only GCC
- Trim PLIST_FILES
- Add DOCS Option
- Add Desktop entry file
Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
Build log
https://redports.org/buildarchive/20130625064601-22939/
>Fix:
--- founts-12_1.patch begins here ---
diff -ruN /usr/ports/graphics/founts/Makefile ./Makefile
--- /usr/ports/graphics/founts/Makefile 2013-06-02 18:53:10.000000000 +0200
+++ ./Makefile 2013-06-25 08:42:05.000000000 +0200
@@ -1,43 +1,47 @@
-# New Ports collection makefile for: founts
-# Date created: 2012-05-01
-# Whom: nemysis at gmx.ch
-#
+# Created by: nemysis <nemysis at gmx.ch>
# $FreeBSD: head/graphics/founts/Makefile 303114 2012-08-25 06:08:48Z jgh $
-#
PORTNAME= founts
PORTVERSION= 12
+PORTREVISION= 1
CATEGORIES= graphics games
-MASTER_SITES= http://www.linuxmotors.com/founts/downloads/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://www.linuxmotors.com/founts/downloads/ \
+ SF/nemysisfreebsdp/:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}.tgz \
+ ${PORTNAME}.png:icons
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}.tgz
MAINTAINER= nemysis at gmx.ch
-COMMENT= A demo/program inspired by Erics cascade
+COMMENT= Demo/program inspired by Erics cascade
LICENSE= GPLv2
USE_SDL= sdl
+USE_GCC= any
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png
PORTDOCS= Changelog README
+OPTIONS_DEFINE= DOCS
+
+DESKTOP_ENTRIES="Founts" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME}" "Graphics;Game;" false
+
.include <bsd.port.options.mk>
do-build:
cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \
- -lm `${SDL_CONFIG} --cflags --libs` founts.c
+ -lm `${SDL_CONFIG} --cflags --libs` ${PORTNAME}.c
do-install:
-# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
-# Documentation
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff -ruN /usr/ports/graphics/founts/distinfo ./distinfo
--- /usr/ports/graphics/founts/distinfo 2013-06-02 18:53:10.000000000 +0200
+++ ./distinfo 2013-05-26 23:00:39.000000000 +0200
@@ -1,2 +1,4 @@
SHA256 (founts-12.tgz) = 46da7a97eef91c162c946914dc81ab523963b4a5faebdf2bfd8482f32a485a8a
SIZE (founts-12.tgz) = 21447
+SHA256 (founts.png) = a8e1dd4ddd78fef3b60e858d4fdc38cdb1388c999031f9306849a09ae0a977d6
+SIZE (founts.png) = 6266
--- founts-12_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list