2003-02-08 03:42:30 +01:00
|
|
|
# New ports collection makefile for: kbarcode
|
|
|
|
# Date created: 05 July 2002
|
|
|
|
# Whom: Andy Raffle <andy@digitalspecies.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kbarcode
|
2006-04-24 13:31:20 +02:00
|
|
|
PORTVERSION= 2.0.1
|
2003-02-08 03:42:30 +01:00
|
|
|
CATEGORIES= graphics kde
|
2003-11-13 08:45:04 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-02-08 03:42:30 +01:00
|
|
|
|
2003-11-13 08:23:59 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-11-19 15:52:21 +01:00
|
|
|
COMMENT= A barcode and label printing application for KDE
|
2003-02-08 03:42:30 +01:00
|
|
|
|
2006-04-24 13:31:20 +02:00
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
|
|
|
|
2006-04-03 16:08:55 +02:00
|
|
|
USE_KDELIBS_VER= 3
|
2003-11-19 15:52:21 +01:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-02-08 03:42:30 +01:00
|
|
|
|
2006-04-03 16:08:55 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-05-22 00:23:08 +02:00
|
|
|
post-patch:
|
2006-04-03 16:08:55 +02:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
@${REINPLACE_CMD} -e 's/ or / || /g ; \
|
|
|
|
s/ and / \&\& /g ; \
|
|
|
|
s/return false/return 0/g' ${WRKSRC}/kbarcode/tec.cpp
|
|
|
|
.endif
|
2004-05-22 00:23:08 +02:00
|
|
|
|
2006-04-03 16:08:55 +02:00
|
|
|
.include <bsd.port.post.mk>
|