1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/graphics/founts/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= founts
PORTVERSION= 13
PORTREVISION= 1
CATEGORIES= graphics games
MASTER_SITES= http://www.linuxmotors.com/founts/downloads/
DISTFILES= ${PORTNAME}-${DISTVERSION}.tgz
MAINTAINER= koalative@gmail.com
COMMENT= Demo/program inspired by Erics cascade
LICENSE= GPLv2
USE_SDL= sdl
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
PORTDOCS= Changelog README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Founts" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Graphics;Game;" false
post-patch:
# @${REINPLACE_CMD} -e 's|#define ELAST 1.7||' \
# ${WRKSRC}/${PORTNAME}.c
@${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} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>