summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-10-21 21:49:45 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-10-21 21:49:45 +0000
commit446fb236c1b176a8d23136f6f72de24f9a9433ea (patch)
treedb1f8e6abfc59c9bb7b5fce3b924316b6ad48b02 /graphics
parentSTAGEify. Move PKGNAMESUFFIX to the proper location in Makefile. (diff)
- Update to 13
- Change master sites, use supplied icon - Change maintainer email to @FreeBSD.org - Support STAGEDIR - Add post-patch, gcc --> ${CC} Approved by: pawel / wg (mentors, implicit)
Notes
Notes: svn path=/head/; revision=331199
Diffstat (limited to 'graphics')
-rw-r--r--graphics/founts/Makefile28
-rw-r--r--graphics/founts/distinfo4
2 files changed, 14 insertions, 18 deletions
diff --git a/graphics/founts/Makefile b/graphics/founts/Makefile
index 9f7edac0ec19..c9d4efdb87b1 100644
--- a/graphics/founts/Makefile
+++ b/graphics/founts/Makefile
@@ -2,22 +2,17 @@
# $FreeBSD$
PORTNAME= founts
-PORTVERSION= 12
-PORTREVISION= 1
+PORTVERSION= 13
CATEGORIES= graphics games
-MASTER_SITES= http://www.linuxmotors.com/founts/downloads/ \
- SF/nemysisfreebsdp/:icons
-DISTFILES= ${PORTNAME}-${DISTVERSION}.tgz \
- ${PORTNAME}.png:icons
-EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}.tgz
+MASTER_SITES= http://www.linuxmotors.com/founts/downloads/
+DISTFILES= ${PORTNAME}-${DISTVERSION}.tgz
-MAINTAINER= nemysis@gmx.ch
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= Demo/program inspired by Erics cascade
LICENSE= GPLv2
USE_SDL= sdl
-CFLAGS= -Wno-return-type
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
@@ -29,20 +24,21 @@ OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Founts" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Graphics;Game;" false
-NO_STAGE= yes
.include <bsd.port.options.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|gcc|${CC}|' \
+ ${WRKSRC}/Makefile
+
do-build:
cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \
-lm `${SDL_CONFIG} --cflags --libs` founts.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/graphics/founts/distinfo b/graphics/founts/distinfo
index c856fc4cc7e6..97861c52fa0e 100644
--- a/graphics/founts/distinfo
+++ b/graphics/founts/distinfo
@@ -1,4 +1,4 @@
-SHA256 (founts-12.tgz) = 46da7a97eef91c162c946914dc81ab523963b4a5faebdf2bfd8482f32a485a8a
-SIZE (founts-12.tgz) = 21447
+SHA256 (founts-13.tgz) = cd13156e54cac37d6910b7b94266331488705ca0ce1601dc2b9af1eb627161bb
+SIZE (founts-13.tgz) = 28855
SHA256 (founts.png) = a8e1dd4ddd78fef3b60e858d4fdc38cdb1388c999031f9306849a09ae0a977d6
SIZE (founts.png) = 6266