Index: head/graphics/iec16022/Makefile =================================================================== --- head/graphics/iec16022/Makefile (revision 423134) +++ head/graphics/iec16022/Makefile (revision 423135) @@ -1,33 +1,34 @@ # Created by: Emanuel Haupt # $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 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 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 Index: head/graphics/iec16022/distinfo =================================================================== --- head/graphics/iec16022/distinfo (revision 423134) +++ head/graphics/iec16022/distinfo (revision 423135) @@ -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 Index: head/graphics/iec16022/files/patch-image.c =================================================================== --- head/graphics/iec16022/files/patch-image.c (nonexistent) +++ head/graphics/iec16022/files/patch-image.c (revision 423135) @@ -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 + #endif + ++#include ++ + static unsigned char const bbc[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // + 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x18, 0x00, // ! Property changes on: head/graphics/iec16022/files/patch-image.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/iec16022/pkg-descr =================================================================== --- head/graphics/iec16022/pkg-descr (revision 423134) +++ head/graphics/iec16022/pkg-descr (revision 423135) @@ -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 Index: head/graphics/iec16022/pkg-plist =================================================================== --- head/graphics/iec16022/pkg-plist (revision 423134) +++ head/graphics/iec16022/pkg-plist (revision 423135) @@ -1,10 +1,10 @@ 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