2006-10-31 19:07:47 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libticables2
|
2013-04-22 21:36:24 +02:00
|
|
|
PORTVERSION= 1.3.4
|
2016-12-08 20:52:19 +01:00
|
|
|
PORTREVISION= 3
|
2006-10-31 19:07:47 +01:00
|
|
|
CATEGORIES= comms
|
2013-04-22 21:36:24 +02:00
|
|
|
MASTER_SITES= SF/tilp/tilp2-linux/tilp2-1.17
|
2006-10-31 19:07:47 +01:00
|
|
|
|
2013-04-24 10:01:28 +02:00
|
|
|
MAINTAINER= tijl@FreeBSD.org
|
2006-10-31 19:07:47 +01:00
|
|
|
COMMENT= TI calculator link cables library
|
|
|
|
|
2012-01-17 20:06:35 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-04-22 21:36:24 +02:00
|
|
|
USE_GNOME= glib20
|
2006-10-31 19:07:47 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-07-03 02:07:33 +02:00
|
|
|
USES= gmake libtool pathfix pkgconfig tar:bzip2
|
2006-10-31 19:07:47 +01:00
|
|
|
|
2013-04-22 21:36:24 +02:00
|
|
|
OPTIONS_DEFINE= NLS
|
2013-10-22 18:02:19 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2006-10-31 19:07:47 +01:00
|
|
|
|
2013-04-22 21:36:24 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-06-16 17:46:36 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-10-31 19:07:47 +01:00
|
|
|
|
2013-10-22 18:02:19 +02:00
|
|
|
post-patch:
|
2017-01-05 23:58:02 +01:00
|
|
|
@${REINPLACE_CMD} -e '/PKG_CONFIG.*libusb/s/ >= 0\.1\.[0-9]*/-0.1/' \
|
|
|
|
${WRKSRC}/configure
|
2013-10-22 18:02:19 +02:00
|
|
|
@${REINPLACE_CMD} -e 's/Requires/&.private/' ${WRKSRC}/ticables2.pc.in
|
2007-09-05 13:03:22 +02:00
|
|
|
|
2013-04-22 21:36:24 +02:00
|
|
|
.include <bsd.port.mk>
|