1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Support staging.

- New LIB_DEPENDS syntax.
- USES=gmake desktop-file-utils shared-mime-info.
- Options helpers.
This commit is contained in:
Tijl Coosemans 2013-10-22 16:07:24 +00:00
parent 68ea242665
commit e06a6fa4de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331289
2 changed files with 11 additions and 19 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= tilp2
PORTVERSION= 1.17
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= SF/tilp/tilp2-linux/${DISTNAME}
@ -10,36 +11,26 @@ COMMENT= TI Linking Program
LICENSE= GPLv2
LIB_DEPENDS= ticables2:${PORTSDIR}/comms/libticables2 \
tifiles2:${PORTSDIR}/devel/libtifiles2 \
ticalcs2:${PORTSDIR}/comms/libticalcs2 \
ticonv:${PORTSDIR}/converters/libticonv
LIB_DEPENDS= libticables2.so:${PORTSDIR}/comms/libticables2 \
libtifiles2.so:${PORTSDIR}/devel/libtifiles2 \
libticalcs2.so:${PORTSDIR}/comms/libticalcs2 \
libticonv.so:${PORTSDIR}/converters/libticonv
USES= pkgconfig
USES= desktop-file-utils gmake pkgconfig shared-mime-info
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gtk20
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-kde
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= tilp.1
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's,^ USE_NLS=yes$$,,' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \

View File

@ -1,4 +1,5 @@
bin/tilp
man/man1/tilp.1.gz
share/applications/tilp.desktop
%%NLS%%share/locale/fr/LC_MESSAGES/tilp2.mo
share/mime/packages/tilp.xml