aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pngcheck
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-07 07:17:10 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-07 07:17:10 +0800
commitfb46b45f78c5415ab391754dd8ca6b75f2219763 (patch)
tree0d2738872afe349c965de8b3e5485dad07a6d7db /graphics/pngcheck
parent2e094ab1e1c104c46a54d3aa14a8606935015193 (diff)
downloadfreebsd-ports-gnome-fb46b45f78c5415ab391754dd8ca6b75f2219763.tar.gz
freebsd-ports-gnome-fb46b45f78c5415ab391754dd8ca6b75f2219763.tar.zst
freebsd-ports-gnome-fb46b45f78c5415ab391754dd8ca6b75f2219763.zip
- Fix license
- Switch to options helpers
Diffstat (limited to 'graphics/pngcheck')
-rw-r--r--graphics/pngcheck/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/pngcheck/Makefile b/graphics/pngcheck/Makefile
index 847be53f422a..d17df3e671fb 100644
--- a/graphics/pngcheck/Makefile
+++ b/graphics/pngcheck/Makefile
@@ -10,25 +10,27 @@ MASTER_SITES= SF/png-mng/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Checks the integrity of PNG images
-LICENSE= MIT GPLv2
-LICENSE_COMB= dual
+LICENSE= MIT GPLv2+
+LICENSE_COMB= multi
+LICENSE_FILE_GPLv2+ = ${WRKSRC}/gpl/COPYING
MAKEFILE= Makefile.unx
MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -DUSE_ZLIB" LIBS="-lz"
PORTDOCS= CHANGELOG README
-OPTIONS_DEFINE= DOCS
-
PLIST_FILES= bin/pngcheck \
bin/pngsplit \
bin/png-fix-IDAT-windowsize
+OPTIONS_DEFINE= DOCS
+
do-install:
.for f in pngcheck pngsplit png-fix-IDAT-windowsize
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/
.endfor
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}