mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
f34ece3aa6
Changes: https://github.com/unicode-org/icu/releases/tag/release-70-1 Reported by: GitHub (watch releases) PR: 258794 Exp-run by: antoine
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# Created by: Anatoly Borodin <anatoly.borodin@gmail.com>
|
|
|
|
PORTNAME= cfdg
|
|
PORTVERSION= 3.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics math
|
|
MASTER_SITES= http://www.contextfreeart.org/download/ \
|
|
http://glyphic.s3.amazonaws.com/cfa/download/
|
|
DISTNAME= ContextFreeSource${PORTVERSION}
|
|
|
|
MAINTAINER= fuz@fuz.su
|
|
COMMENT= Context Free Design Grammar compiler
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
LIB_DEPENDS= libicuuc.so:devel/icu \
|
|
libpng.so:graphics/png
|
|
|
|
USES= bison gmake tar:xz
|
|
MAKE_ARGS= prefix=${PREFIX} \
|
|
DESTDIR=${STAGEDIR}
|
|
TEST_TARGET= check
|
|
NO_WRKSUBDIR= yes
|
|
PLIST_FILES= bin/cfdg \
|
|
share/man/man1/cfdg.1.gz
|
|
|
|
PORTEXAMPLES= *.cfdg
|
|
|
|
OPTIONS_DEFINE= EXAMPLES FFMPEG
|
|
OPTIONS_DEFAULT= FFMPEG
|
|
FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
|
|
libx264.so:multimedia/libx264
|
|
FFMPEG_MAKE_ARGS= WANT_FFMPEG=yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' ${WRKSRC}/Makefile
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/input/*.cfdg ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|