svn commit: r331199 - head/graphics/founts
Rusmir Dusko
nemysis at FreeBSD.org
Mon Oct 21 21:49:46 UTC 2013
Author: nemysis
Date: Mon Oct 21 21:49:45 2013
New Revision: 331199
URL: http://svnweb.freebsd.org/changeset/ports/331199
Log:
- 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)
Modified:
head/graphics/founts/Makefile
head/graphics/founts/distinfo (contents, props changed)
Modified: head/graphics/founts/Makefile
==============================================================================
--- head/graphics/founts/Makefile Mon Oct 21 21:46:11 2013 (r331198)
+++ head/graphics/founts/Makefile Mon Oct 21 21:49:45 2013 (r331199)
@@ -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 at gmx.ch
+MAINTAINER= nemysis at 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>
Modified: head/graphics/founts/distinfo
==============================================================================
--- head/graphics/founts/distinfo Mon Oct 21 21:46:11 2013 (r331198)
+++ head/graphics/founts/distinfo Mon Oct 21 21:49:45 2013 (r331199)
@@ -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
More information about the svn-ports-head
mailing list