aboutsummaryrefslogtreecommitdiff
path: root/graphics/ansilove/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-27 23:46:04 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-27 23:46:04 +0000
commitaff7b63b015bb23de06b24d07a9a24f69bf02f50 (patch)
treef42d5b1d607a3d24ca85d15a41f093ea07cd1667 /graphics/ansilove/Makefile
parenta904110a38c104c47007e7e97e9bcdf789eec07e (diff)
downloadports-aff7b63b015bb23de06b24d07a9a24f69bf02f50.tar.gz
ports-aff7b63b015bb23de06b24d07a9a24f69bf02f50.zip
Notes
Diffstat (limited to 'graphics/ansilove/Makefile')
-rw-r--r--graphics/ansilove/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/graphics/ansilove/Makefile b/graphics/ansilove/Makefile
new file mode 100644
index 000000000000..efbcfb05b3ac
--- /dev/null
+++ b/graphics/ansilove/Makefile
@@ -0,0 +1,39 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ansilove
+PORTVERSION= 3.0.4
+CATEGORIES= graphics textproc
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= ANSi / ASCII art to PNG converter
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libgd.so:graphics/gd
+
+USE_GITHUB= yes
+
+USES= cmake
+CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man
+
+PORTDOCS= AUTHORS ChangeLog README.md THANKS TODO
+PORTEXAMPLES= *
+
+PLIST_FILES= bin/ansilove \
+ man/man1/ansilove.1.gz
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
+.endfor
+
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
+
+.include <bsd.port.mk>