Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2016 11:25:10 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429966 - in head/graphics: dmtx-utils libdmtx libdmtx/files
Message-ID:  <201612301125.uBUBPA6m051528@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Fri Dec 30 11:25:09 2016
New Revision: 429966
URL: https://svnweb.freebsd.org/changeset/ports/429966

Log:
  - Add LICENSE.
  - Fix missing dependency.
  - Strip installed binaries.
  - Update WWW: in pkg-descr.

Added:
  head/graphics/libdmtx/files/
  head/graphics/libdmtx/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/graphics/dmtx-utils/Makefile
  head/graphics/dmtx-utils/pkg-descr
  head/graphics/libdmtx/Makefile
  head/graphics/libdmtx/pkg-descr

Modified: head/graphics/dmtx-utils/Makefile
==============================================================================
--- head/graphics/dmtx-utils/Makefile	Fri Dec 30 10:53:43 2016	(r429965)
+++ head/graphics/dmtx-utils/Makefile	Fri Dec 30 11:25:09 2016	(r429966)
@@ -3,19 +3,21 @@
 
 PORTNAME=	dmtx-utils
 PORTVERSION=	0.7.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	SF/libdmtx/libdmtx/${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Software for reading and writing Data Matrix barcodes
 
-LIB_DEPENDS=	libdmtx.so:graphics/libdmtx
+LICENSE=	LGPL21+
 
-USES=		tar:bzip2 pkgconfig
-GNU_CONFIGURE=	yes
-CFLAGS+=	-I${LOCALBASE}/include
+LIB_DEPENDS=	libdmtx.so:graphics/libdmtx \
+		libMagickWand-6.so:graphics/ImageMagick \
+		libMagickCore-6.so:graphics/ImageMagick
 
+USES=		localbase tar:bzip2 pkgconfig
+GNU_CONFIGURE=	yes
 PLIST_FILES=	bin/dmtxread bin/dmtxwrite bin/dmtxquery \
 		man/man1/dmtxread.1.gz man/man1/dmtxwrite.1.gz \
 		man/man1/dmtxquery.1.gz

Modified: head/graphics/dmtx-utils/pkg-descr
==============================================================================
--- head/graphics/dmtx-utils/pkg-descr	Fri Dec 30 10:53:43 2016	(r429965)
+++ head/graphics/dmtx-utils/pkg-descr	Fri Dec 30 11:25:09 2016	(r429966)
@@ -12,4 +12,4 @@ pattern of data with built-in error corr
 symbology (sometimes casually referred to as "DataMatrix") was invented
 and released into the public domain by RVSI Acuity CiMatrix.
 
-WWW: http://www.libdmtx.org/
+WWW: http://libdmtx.sourceforge.net

Modified: head/graphics/libdmtx/Makefile
==============================================================================
--- head/graphics/libdmtx/Makefile	Fri Dec 30 10:53:43 2016	(r429965)
+++ head/graphics/libdmtx/Makefile	Fri Dec 30 11:25:09 2016	(r429966)
@@ -3,21 +3,21 @@
 
 PORTNAME=	libdmtx
 PORTVERSION=	0.7.4
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Library for reading and writing Data Matrix barcodes
 
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 LIB_DEPENDS=	libMagickWand-6.so:graphics/ImageMagick
 
 USES=		tar:bzip2 libtool
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-
-post-patch:
-	@${REINPLACE_CMD} -e '/^pkgconfigdir /s:(libdir):{prefix}/libdata:' \
-		${WRKSRC}/Makefile.in
+INSTALL_TARGET=	install-strip
 
 .include <bsd.port.mk>

Added: head/graphics/libdmtx/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libdmtx/files/patch-Makefile.in	Fri Dec 30 11:25:09 2016	(r429966)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2011-06-02 07:10:47 UTC
++++ Makefile.in
+@@ -306,7 +306,7 @@ EXTRA_DIST = KNOWNBUG \
+ 	script/check_todo.sh \
+ 	script/check_whitespace.sh
+ 
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = ${prefix}/libdata/pkgconfig
+ pkgconfig_DATA = libdmtx.pc
+ all: config.h
+ 	$(MAKE) $(AM_MAKEFLAGS) all-recursive

Modified: head/graphics/libdmtx/pkg-descr
==============================================================================
--- head/graphics/libdmtx/pkg-descr	Fri Dec 30 10:53:43 2016	(r429965)
+++ head/graphics/libdmtx/pkg-descr	Fri Dec 30 11:25:09 2016	(r429966)
@@ -10,4 +10,4 @@ pattern of data with built-in error corr
 symbology (sometimes casually referred to as "DataMatrix") was invented
 and released into the public domain by RVSI Acuity CiMatrix.
 
-WWW: http://www.libdmtx.org/
+WWW: http://libdmtx.sourceforge.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612301125.uBUBPA6m051528>