2013-06-25 14:47:07 +02:00
|
|
|
# Created by: nemysis <nemysis@gmx.ch>
|
2012-05-06 16:30:38 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= founts
|
|
|
|
PORTVERSION= 12
|
2013-06-25 14:47:07 +02:00
|
|
|
PORTREVISION= 1
|
2012-05-06 16:30:38 +02:00
|
|
|
CATEGORIES= graphics games
|
2013-06-25 14:47:07 +02:00
|
|
|
MASTER_SITES= http://www.linuxmotors.com/founts/downloads/ \
|
|
|
|
SF/nemysisfreebsdp/:icons
|
|
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}.tgz \
|
|
|
|
${PORTNAME}.png:icons
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}.tgz
|
2012-05-06 16:30:38 +02:00
|
|
|
|
|
|
|
MAINTAINER= nemysis@gmx.ch
|
2013-06-25 14:47:07 +02:00
|
|
|
COMMENT= Demo/program inspired by Erics cascade
|
2012-05-06 16:30:38 +02:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
USE_SDL= sdl
|
2013-06-25 14:47:07 +02:00
|
|
|
CFLAGS= -Wno-return-type
|
2012-05-06 16:30:38 +02:00
|
|
|
|
2013-06-25 14:47:07 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
|
|
share/pixmaps/${PORTNAME}.png
|
2012-05-06 16:30:38 +02:00
|
|
|
|
|
|
|
PORTDOCS= Changelog README
|
|
|
|
|
2013-06-25 14:47:07 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES="Founts" "${COMMENT}" "${PORTNAME}" \
|
|
|
|
"${PORTNAME}" "Graphics;Game;" false
|
|
|
|
|
2013-09-20 20:35:44 +02:00
|
|
|
NO_STAGE= yes
|
2012-08-25 08:08:48 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-05-06 16:30:38 +02:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \
|
|
|
|
-lm `${SDL_CONFIG} --cflags --libs` founts.c
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
2013-06-25 14:47:07 +02:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
|
2012-08-25 08:08:48 +02:00
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-06-25 14:47:07 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
2012-05-06 16:30:38 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|