2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Anatoly Borodin <anatoly.borodin@gmail.com>
|
2008-04-26 19:55:18 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cfdg
|
2011-06-20 23:17:01 +02:00
|
|
|
PORTVERSION= 2.2.2
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 2
|
2008-04-26 19:55:18 +02:00
|
|
|
CATEGORIES= graphics math
|
2009-09-19 01:38:53 +02:00
|
|
|
MASTER_SITES= http://www.contextfreeart.org/download/ \
|
|
|
|
http://glyphic.s3.amazonaws.com/cfa/download/
|
2008-04-26 19:55:18 +02:00
|
|
|
DISTNAME= ContextFreeSource${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= anatoly.borodin@gmail.com
|
|
|
|
COMMENT= Context Free Design Grammar compiler
|
|
|
|
|
2017-07-30 11:01:10 +02:00
|
|
|
LICENSE= GPLv2+
|
2011-06-20 23:17:01 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
2017-07-30 11:01:10 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
|
2011-06-20 23:17:01 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= gmake tar:tgz
|
2011-06-20 23:17:01 +02:00
|
|
|
PLIST_FILES= bin/cfdg
|
|
|
|
|
|
|
|
PORTEXAMPLES= *
|
2014-07-04 02:09:47 +02:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
2011-06-20 23:17:01 +02:00
|
|
|
|
2008-04-26 19:55:18 +02:00
|
|
|
do-install:
|
2014-06-16 08:44:24 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cfdg ${STAGEDIR}${PREFIX}/bin
|
2017-07-30 11:01:10 +02:00
|
|
|
|
|
|
|
do-install-EXAMPLES-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2014-06-16 08:44:24 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/input/* ${STAGEDIR}${EXAMPLESDIR}
|
2008-04-26 19:55:18 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|