aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/founts/Makefile
blob: dace223d7018bc9df5b1d8c9a89981257d635826 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$

PORTNAME=   founts
PORTVERSION=    12
PORTREVISION=   1
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

MAINTAINER= nemysis@gmx.ch
COMMENT=    Demo/program inspired by Erics cascade

LICENSE=    GPLv2

USE_SDL=    sdl
CFLAGS=     -Wno-return-type

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:
    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

.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>