mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
- Update to 0.2.7
- Reolocate to github - Use pathfix macro
This commit is contained in:
parent
641063185c
commit
a5000a5ef0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423135
@ -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>
|
||||
|
@ -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
|
||||
|
11
graphics/iec16022/files/patch-image.c
Normal file
11
graphics/iec16022/files/patch-image.c
Normal file
@ -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, // !
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user