freebsd-ports/graphics/chafa/Makefile
2021-09-05 08:11:07 +02:00

35 lines
897 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
PORTNAME= chafa
PORTVERSION= 1.8.0
CATEGORIES= graphics
MASTER_SITES= https://hpjansson.org/chafa/releases/ \
https://github.com/hpjansson/chafa/releases/download/${PORTVERSION}/
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Character art facsimile generator
LICENSE= GPLv3 LGPL3+
LICENSE_COMB= multi
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER
BUILD_DEPENDS= convert:graphics/ImageMagick7
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libMagickCore-7.so:graphics/ImageMagick7
USES= gettext-runtime gnome libtool tar:xz
USE_GNOME= glib20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}/html
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/share/man/man1
.include <bsd.port.mk>