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

PORTNAME=	kbarcode
PORTVERSION=	2.0.4
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
INSTALLS_ICONS=	yes
USE_GETTEXT=	yes

.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