summaryrefslogtreecommitdiffstats
path: root/graphics/kbarcode/Makefile
blob: f2a3ef3292fa2c2e0c93f3101f49e5e94c1619ca (plain)
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
# New ports collection makefile for:	kbarcode
# Date created:				05 July 2002
# Whom:					Andy Raffle <andy@digitalspecies.com>
#
# $FreeBSD$
#

PORTNAME=	kbarcode
PORTVERSION=	2.0.2
CATEGORIES=	graphics kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A barcode and label printing application for KDE

LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre

USE_KDELIBS_VER=	3
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15

.include <bsd.port.pre.mk>

post-patch:
.if ${OSVERSION} < 500000
	@${REINPLACE_CMD} -e 's/ or / || /g ; \
		 s/ and / \&\& /g ; \
		 s/return false/return 0/g' ${WRKSRC}/kbarcode/tec.cpp
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud