forked from Lainports/freebsd-ports
A new USES has been added to depend on ImageMagick.
USES=magick
adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.
If a specific version is required, use for example
USES=magick:6 resp. USES=magick:7
If only a build, run or test is required, use for example
USES=magick:build resp. USES=magick:6,build,test
If a dependency on the nox11 flavor is required, use for example
USES=magick:nox11 resp. USES=magick:7,nox11,run,test
See magick.mk for more details on the available flags.
The tree has been completely converted to make use of this.
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D32754
33 lines
818 B
Makefile
33 lines
818 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
|
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
|
|
|
USES= gettext-runtime gnome libtool magick:7 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>
|