blob: 03b5eafef428cf8f16ab073f7fe2dbe710e4753a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: iec16022
# Date created: Thu Jul 3 14:13:08 CEST 2008
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= iec16022
PORTVERSION= 0.2.3
CATEGORIES= graphics
MASTER_SITES= http://datenfreihafen.org/~stefan/iec16022/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Create 2D barcodes, also known as DataMatrix
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
GNU_CONFIGURE= yes
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
.include <bsd.port.mk>
|