mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
f19c2149f8
- USES=gmake. - Options helpers. - Make the Requires field private in pkgconfig file.
34 lines
634 B
Makefile
34 lines
634 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libticables2
|
|
PORTVERSION= 1.3.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= comms
|
|
MASTER_SITES= SF/tilp/tilp2-linux/tilp2-1.17
|
|
|
|
MAINTAINER= tijl@FreeBSD.org
|
|
COMMENT= TI calculator link cables library
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= glib20
|
|
USE_LDCONFIG= yes
|
|
USES= gmake pathfix pkgconfig
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/Requires/&.private/' ${WRKSRC}/ticables2.pc.in
|
|
|
|
.include <bsd.port.mk>
|