Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 12:47:07 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321741 - head/graphics/founts
Message-ID:  <201306251247.r5PCl7Jv003730@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Tue Jun 25 12:47:07 2013
New Revision: 321741
URL: http://svnweb.freebsd.org/changeset/ports/321741

Log:
  graphics/founts: minor fixes
  
  - Trim Makefile header [1]
  - Remove leading article from COMMENT [1]
  - Add DOCS option [1]
  - Install desktop entry/icon [1]
  - Fix build with clang
  
  PR:		ports/179948
  Submitted by:	nemysis <nemysis@gmx.ch> [1] (maintainer)

Modified:
  head/graphics/founts/Makefile
  head/graphics/founts/distinfo

Modified: head/graphics/founts/Makefile
==============================================================================
--- head/graphics/founts/Makefile	Tue Jun 25 12:36:58 2013	(r321740)
+++ head/graphics/founts/Makefile	Tue Jun 25 12:47:07 2013	(r321741)
@@ -1,27 +1,34 @@
-# New Ports collection makefile for:	founts
-# Date created:		2012-05-01
-# Whom:			nemysis@gmx.ch
-#
+# Created by: nemysis <nemysis@gmx.ch>
 # $FreeBSD$
-#
 
 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@gmx.ch
-COMMENT=	A demo/program inspired by Erics cascade
+COMMENT=	Demo/program inspired by Erics cascade
 
 LICENSE=	GPLv2
 
 USE_SDL=	sdl
+CFLAGS=		-Wno-return-type
 
-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:
@@ -29,15 +36,12 @@ do-build:
 		-lm `${SDL_CONFIG} --cflags --libs` founts.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>

Modified: head/graphics/founts/distinfo
==============================================================================
--- head/graphics/founts/distinfo	Tue Jun 25 12:36:58 2013	(r321740)
+++ head/graphics/founts/distinfo	Tue Jun 25 12:47:07 2013	(r321741)
@@ -1,2 +1,4 @@
 SHA256 (founts-12.tgz) = 46da7a97eef91c162c946914dc81ab523963b4a5faebdf2bfd8482f32a485a8a
 SIZE (founts-12.tgz) = 21447
+SHA256 (founts.png) = a8e1dd4ddd78fef3b60e858d4fdc38cdb1388c999031f9306849a09ae0a977d6
+SIZE (founts.png) = 6266



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306251247.r5PCl7Jv003730>