freebsd-ports/graphics/cptutils/Makefile
2021-04-08 02:19:01 +03:00

40 lines
1 KiB
Makefile

PORTNAME= cptutils
PORTVERSION= 1.74
CATEGORIES= graphics
MASTER_SITES= http://soliton.vm.bytemark.co.uk/pub/jjg/src/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Convert and manipulate colour gradients
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gengetopt:devel/gengetopt \
gperf:devel/gperf \
docbook-xsl>0:textproc/docbook-xsl
LIB_DEPENDS= libjansson.so:devel/jansson \
libpng.so:graphics/png
USES= autoreconf bison gmake gnome iconv localbase python:3.7+ shebangfix
SHEBANG_FILES= src/gradient-convert/gradient-convert.py
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG}
USE_GNOME= libxml2 libxslt
PORTDOCS= CHANGELOG CREDITS README.md
OPTIONS_DEFINE= DOCS TEST
TEST_CONFIGURE_ENABLE= tests
TEST_BUILD_DEPENDS= bash:shells/bash \
xml:textproc/xmlstarlet
TEST_LIB_DEPENDS= libcunit.so:devel/cunit
TEST_TEST_TARGET= test unit
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>