aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2009-10-23 20:57:32 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2009-10-23 20:57:32 +0000
commit353df5ce242d7541f91144f745eed25c814352cf (patch)
tree01191e7d43da6d5a6ecc5e29db8791cb44c771d2 /graphics
parent2ce50df6c14f49441fb70b7f3cbfc6791c1b6cd5 (diff)
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/iec16022/Makefile13
-rw-r--r--graphics/iec16022/distinfo6
-rw-r--r--graphics/iec16022/pkg-plist10
3 files changed, 20 insertions, 9 deletions
diff --git a/graphics/iec16022/Makefile b/graphics/iec16022/Makefile
index 03b5eafef428..54a11f9bdf13 100644
--- a/graphics/iec16022/Makefile
+++ b/graphics/iec16022/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= iec16022
-PORTVERSION= 0.2.3
+PORTVERSION= 0.2.4
CATEGORIES= graphics
MASTER_SITES= http://datenfreihafen.org/~stefan/iec16022/ \
CRITICAL
@@ -17,19 +17,20 @@ COMMENT= Create 2D barcodes, also known as DataMatrix
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+USE_GNOME= pkgconfig
+
MAKE_JOBS_SAFE= yes
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
MAN1= iec16022.1
-PLIST_FILES= bin/iec16022
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/iec16022.c \
${WRKSRC}/iec16022ecc200.c ${WRKSRC}/reedsol.c ${WRKSRC}/image.c
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
+ @${REINPLACE_CMD} -e \
+ "s|^\(pkgconfigdir\).*|\1 = ${PREFIX}/libdata/pkgconfig|" \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/graphics/iec16022/distinfo b/graphics/iec16022/distinfo
index c303ba4db7f2..9e1681b6aa8c 100644
--- a/graphics/iec16022/distinfo
+++ b/graphics/iec16022/distinfo
@@ -1,3 +1,3 @@
-MD5 (iec16022-0.2.3.tar.gz) = bd77a401f91daaf849dcf03d4de4f9a4
-SHA256 (iec16022-0.2.3.tar.gz) = d4a2ad53767cddf10334262e84f783b3a2af6e728f7cae72849688b8c43b24f2
-SIZE (iec16022-0.2.3.tar.gz) = 338640
+MD5 (iec16022-0.2.4.tar.gz) = 9395108f1deaa2c4bd6d05a9e7c91431
+SHA256 (iec16022-0.2.4.tar.gz) = 0941afede03cecc9607b9abd3093c538d982f9f8b87294cf1c2f89306be3df12
+SIZE (iec16022-0.2.4.tar.gz) = 308129
diff --git a/graphics/iec16022/pkg-plist b/graphics/iec16022/pkg-plist
new file mode 100644
index 000000000000..96f7f4b625c3
--- /dev/null
+++ b/graphics/iec16022/pkg-plist
@@ -0,0 +1,10 @@
+bin/iec16022
+include/iec16022/iec16022ecc200.h
+include/iec16022/image.h
+include/iec16022/reedsol.h
+lib/libiec16022.so
+lib/libiec16022.so.0
+lib/libiec16022.la
+lib/libiec16022.a
+libdata/pkgconfig/libiec16022.pc
+@dirrm include/iec16022