Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2016 16:24:32 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423135 - in head/graphics/iec16022: . files
Message-ID:  <201610021624.u92GOWCD049988@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Oct  2 16:24:32 2016
New Revision: 423135
URL: https://svnweb.freebsd.org/changeset/ports/423135

Log:
  - Update to 0.2.7
  - Reolocate to github
  - Use pathfix macro

Added:
  head/graphics/iec16022/files/
  head/graphics/iec16022/files/patch-image.c   (contents, props changed)
Modified:
  head/graphics/iec16022/Makefile
  head/graphics/iec16022/distinfo
  head/graphics/iec16022/pkg-descr
  head/graphics/iec16022/pkg-plist

Modified: head/graphics/iec16022/Makefile
==============================================================================
--- head/graphics/iec16022/Makefile	Sun Oct  2 16:10:05 2016	(r423134)
+++ head/graphics/iec16022/Makefile	Sun Oct  2 16:24:32 2016	(r423135)
@@ -2,11 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	iec16022
-PORTVERSION=	0.2.4
-PORTREVISION=	2
+PORTVERSION=	0.2.7
+DISTVERSIONPREFIX=	v
 CATEGORIES=	graphics
-MASTER_SITES=	http://datenfreihafen.org/~stefan/iec16022/ \
-		LOCAL/ehaupt
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Create 2D barcodes, also known as DataMatrix
@@ -15,9 +13,14 @@ LICENSE=	GPLv2
 
 LIB_DEPENDS=	libpopt.so:devel/popt
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	rdoeffinger
+
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USES=		libtool pkgconfig
+USES=		autoreconf gmake libtool pathfix pkgconfig
+
+PATHFIX_MAKEFILEIN=	Makefile.am
 
 CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC
 
@@ -26,8 +29,6 @@ INSTALL_TARGET=	install-strip
 post-patch:
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/iec16022.c \
 		${WRKSRC}/iec16022ecc200.c ${WRKSRC}/reedsol.c ${WRKSRC}/image.c
-	@${REINPLACE_CMD} -e \
-		"s|^\(pkgconfigdir\).*|\1 = ${PREFIX}/libdata/pkgconfig|" \
-			${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/-Wno-unused-result/d' ${WRKSRC}/Makefile.am
 
 .include <bsd.port.mk>

Modified: head/graphics/iec16022/distinfo
==============================================================================
--- head/graphics/iec16022/distinfo	Sun Oct  2 16:10:05 2016	(r423134)
+++ head/graphics/iec16022/distinfo	Sun Oct  2 16:24:32 2016	(r423135)
@@ -1,2 +1,3 @@
-SHA256 (iec16022-0.2.4.tar.gz) = 0941afede03cecc9607b9abd3093c538d982f9f8b87294cf1c2f89306be3df12
-SIZE (iec16022-0.2.4.tar.gz) = 308129
+TIMESTAMP = 1475423331
+SHA256 (rdoeffinger-iec16022-v0.2.7_GH0.tar.gz) = 34f00da5f6c83dd14b2803e5ed0f5310310e452023fe989c59fc5489b78cd33a
+SIZE (rdoeffinger-iec16022-v0.2.7_GH0.tar.gz) = 32970

Added: head/graphics/iec16022/files/patch-image.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/iec16022/files/patch-image.c	Sun Oct  2 16:24:32 2016	(r423135)
@@ -0,0 +1,11 @@
+--- image.c.orig	2016-10-02 16:05:20 UTC
++++ image.c
+@@ -40,6 +40,8 @@ static inline unsigned htonl(unsigned i)
+ #include <zlib.h>
+ #endif
+ 
++#include <unistd.h>
++
+ static unsigned char const bbc[] = {
+ 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,	//
+ 	0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x18, 0x00,	// !

Modified: head/graphics/iec16022/pkg-descr
==============================================================================
--- head/graphics/iec16022/pkg-descr	Sun Oct  2 16:10:05 2016	(r423134)
+++ head/graphics/iec16022/pkg-descr	Sun Oct  2 16:24:32 2016	(r423135)
@@ -1,4 +1,4 @@
 Create 2D barcodes, also known as Data Matrix. These barcodes are defined in
 ISO/IEC 16022.
 
-WWW: http://datenfreihafen.org/projects/iec16022.html
+WWW: https://github.com/rdoeffinger/iec16022

Modified: head/graphics/iec16022/pkg-plist
==============================================================================
--- head/graphics/iec16022/pkg-plist	Sun Oct  2 16:10:05 2016	(r423134)
+++ head/graphics/iec16022/pkg-plist	Sun Oct  2 16:24:32 2016	(r423135)
@@ -2,9 +2,9 @@ bin/iec16022
 include/iec16022/iec16022ecc200.h
 include/iec16022/image.h
 include/iec16022/reedsol.h
-lib/libiec16022.so.0.0.0
-lib/libiec16022.so.0
-lib/libiec16022.so
 lib/libiec16022.a
+lib/libiec16022.so
+lib/libiec16022.so.0
+lib/libiec16022.so.0.1.0
 libdata/pkgconfig/libiec16022.pc
 man/man1/iec16022.1.gz



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