2013-05-06 09:07:58 +00:00
|
|
|
# Created by: Kris Moore <kmoore@freebsd.org>
|
2010-09-30 14:39:33 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lxterminal
|
2011-09-08 21:58:47 +00:00
|
|
|
PORTVERSION= 0.1.11
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 1
|
2010-09-30 14:39:33 +00:00
|
|
|
CATEGORIES= sysutils
|
2013-06-21 15:14:00 +00:00
|
|
|
MASTER_SITES= SF/lxde/LXTerminal%20%28terminal%20emulator%29/LXTerminal%20${PORTVERSION}/
|
2010-09-30 14:39:33 +00:00
|
|
|
|
2013-06-21 15:14:00 +00:00
|
|
|
MAINTAINER= nemysis@gmx.ch
|
|
|
|
COMMENT= Lightweight terminal emulator from the LXDE project
|
2010-09-30 14:39:33 +00:00
|
|
|
|
2013-06-21 15:14:00 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
LIB_DEPENDS= vte:${PORTSDIR}/x11-toolkits/vte
|
2010-09-30 14:39:33 +00:00
|
|
|
|
2013-09-02 22:11:23 +00:00
|
|
|
USES= iconv pkgconfig
|
2013-06-21 15:14:00 +00:00
|
|
|
USE_GNOME= gtk20 intlhack
|
2010-09-30 14:39:33 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
2013-06-21 15:14:00 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2010-09-30 14:39:33 +00:00
|
|
|
MAN1= lxterminal.1
|
|
|
|
|
2013-06-21 15:14:00 +00:00
|
|
|
PORTDOCS= AUTHORS README
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
|
2013-05-06 09:07:58 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 18:10:30 +00:00
|
|
|
USES+= gettext
|
2010-09-30 14:39:33 +00:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2013-06-21 15:14:00 +00:00
|
|
|
post-patch:
|
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
|
|
@${REINPLACE_CMD} -e 's|src po|src|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2010-09-30 14:39:33 +00:00
|
|
|
.include <bsd.port.mk>
|