summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2017-07-05 08:46:26 +0000
committernros <nros@pkgsrc.org>2017-07-05 08:46:26 +0000
commitc2a3d83b47d6081a75c1df0ef0aba81530636934 (patch)
treec98a334fc5b70a58cdb9f85b12702232b1789cf9
parent733e3fd71381f9ac16d42f98f66587a6d3a0154f (diff)
downloadpkgsrc-c2a3d83b47d6081a75c1df0ef0aba81530636934.tar.gz
set license for freeimageplus and add a buildlink3.mk since it is a library.
-rw-r--r--graphics/freeimageplus/Makefile3
-rw-r--r--graphics/freeimageplus/buildlink3.mk14
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/freeimageplus/Makefile b/graphics/freeimageplus/Makefile
index 44aa9dc1b4e..48e537053d3 100644
--- a/graphics/freeimageplus/Makefile
+++ b/graphics/freeimageplus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2015/05/27 22:06:11 markd Exp $
+# $NetBSD: Makefile,v 1.2 2017/07/05 08:46:26 nros Exp $
DISTNAME= FreeImage3170
PKGNAME= freeimageplus-3.17.0
@@ -9,6 +9,7 @@ EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://freeimage.sf.net/
COMMENT= Library for supporting PNG, BMP, JPEG, and TIFF - C++ Wrapper
+LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 OR mpl-1.0
USE_LANGUAGES+= c c++
USE_TOOLS+= gmake
diff --git a/graphics/freeimageplus/buildlink3.mk b/graphics/freeimageplus/buildlink3.mk
new file mode 100644
index 00000000000..d5f08cac6f2
--- /dev/null
+++ b/graphics/freeimageplus/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/07/05 08:46:26 nros Exp $
+
+BUILDLINK_TREE+= freeimageplus
+
+.if !defined(FREEIMAGEPLUS_BUILDLINK3_MK)
+FREEIMAGEPLUS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.freeimageplus+= freeimageplus>=3.17.0
+BUILDLINK_PKGSRCDIR.freeimageplus?= ../../graphics/freeimageplus
+
+.include "../../graphics/freeimage/buildlink3.mk"
+.endif # FREEIMAGEPLUS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -freeimageplus