mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Support staging.
- USES=gmake. - Options helpers. - Make the Requires field private in pkgconfig file.
This commit is contained in:
parent
6084c6aff9
commit
f19c2149f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331285
1 changed files with 8 additions and 12 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
PORTNAME= libticables2
|
PORTNAME= libticables2
|
||||||
PORTVERSION= 1.3.4
|
PORTVERSION= 1.3.4
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= comms
|
CATEGORIES= comms
|
||||||
MASTER_SITES= SF/tilp/tilp2-linux/tilp2-1.17
|
MASTER_SITES= SF/tilp/tilp2-linux/tilp2-1.17
|
||||||
|
|
||||||
|
@ -11,27 +12,22 @@ COMMENT= TI calculator link cables library
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_GMAKE= yes
|
|
||||||
USE_GNOME= glib20
|
USE_GNOME= glib20
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USES= pathfix pkgconfig
|
USES= gmake pathfix pkgconfig
|
||||||
|
|
||||||
OPTIONS_DEFINE= NLS
|
OPTIONS_DEFINE= NLS
|
||||||
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
|
NLS_USES= gettext
|
||||||
|
NLS_CONFIGURE_ENABLE= nls
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
|
CONFIGURE_ENV= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
NO_STAGE= yes
|
post-patch:
|
||||||
.include <bsd.port.options.mk>
|
@${REINPLACE_CMD} -e 's/Requires/&.private/' ${WRKSRC}/ticables2.pc.in
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MNLS}
|
|
||||||
USES+= gettext
|
|
||||||
PLIST_SUB+= NLS=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--disable-nls
|
|
||||||
PLIST_SUB+= NLS="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue