aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/cfdg/Makefile
blob: 61cb5bbff022a1bad81fe5f65f0c3671e404516a (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
# Created by: Anatoly Borodin <anatoly.borodin@gmail.com>

PORTNAME=   cfdg
PORTVERSION=    2.2.2
PORTREVISION=   2
CATEGORIES= graphics math
MASTER_SITES=   http://www.contextfreeart.org/download/ \
        http://glyphic.s3.amazonaws.com/cfa/download/
DISTNAME=   ContextFreeSource${PORTVERSION}

MAINTAINER= anatoly.borodin@gmail.com
COMMENT=    Context Free Design Grammar compiler

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

BROKEN_FreeBSD_13=  does not build: error: conflicting types for 'yyget_leng'
BROKEN_FreeBSD_14=  does not build: error: conflicting types for 'yyget_leng'

LIB_DEPENDS=    libpng.so:graphics/png

WRKSRC=     ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX}

USES=       gmake tar:tgz
PLIST_FILES=    bin/cfdg

PORTEXAMPLES=   *

OPTIONS_DEFINE= EXAMPLES

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/cfdg ${STAGEDIR}${PREFIX}/bin

do-install-EXAMPLES-on:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/input/* ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>