aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lxterminal
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-01-08 00:42:32 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-01-08 00:42:32 +0000
commit5187ba77c0dc487bf41bcee70a50a7e51b547b8e (patch)
tree9114d8846d8b69d23bed781972edcbd7ab9a0d68 /sysutils/lxterminal
parentfef6823ee78f81a946da80dab51ebbdf2b7fc337 (diff)
Notes
Diffstat (limited to 'sysutils/lxterminal')
-rw-r--r--sysutils/lxterminal/Makefile22
-rw-r--r--sysutils/lxterminal/pkg-descr2
-rw-r--r--sysutils/lxterminal/pkg-plist1
3 files changed, 10 insertions, 15 deletions
diff --git a/sysutils/lxterminal/Makefile b/sysutils/lxterminal/Makefile
index 9a27b4bfdcce..1e4061ea790b 100644
--- a/sysutils/lxterminal/Makefile
+++ b/sysutils/lxterminal/Makefile
@@ -12,31 +12,27 @@ COMMENT= Lightweight terminal emulator from the LXDE project
LICENSE= GPLv2
-LIB_DEPENDS= vte:${PORTSDIR}/x11-toolkits/vte
+BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
+LIB_DEPENDS= libvte.so:${PORTSDIR}/x11-toolkits/vte
-USES= iconv pkgconfig
+USES= gmake iconv pkgconfig
USE_GNOME= gtk20 intlhack
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
-USE_GMAKE= yes
USE_LDCONFIG= yes
-MAN1= lxterminal.1
-
PORTDOCS= AUTHORS README
OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.else
-PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@@ -46,9 +42,7 @@ post-patch:
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/sysutils/lxterminal/pkg-descr b/sysutils/lxterminal/pkg-descr
index 47e8fa7d498f..62783e7e3e4d 100644
--- a/sysutils/lxterminal/pkg-descr
+++ b/sysutils/lxterminal/pkg-descr
@@ -3,4 +3,4 @@ It is completely desktop-independent and does not have any unnecessary
dependencies. In order to reduce memory usage and increase the performance
all instances of the terminal are sharing a single process.
-WWW: http://lxde.sourceforge.net/
+WWW: http://wiki.lxde.org/en/LXTerminal
diff --git a/sysutils/lxterminal/pkg-plist b/sysutils/lxterminal/pkg-plist
index 3b3efd89aa60..53ae0cb3a45f 100644
--- a/sysutils/lxterminal/pkg-plist
+++ b/sysutils/lxterminal/pkg-plist
@@ -1,4 +1,5 @@
bin/lxterminal
+man/man1/lxterminal.1.gz
share/applications/lxterminal.desktop
%%NLS%%share/locale/af/LC_MESSAGES/lxterminal.mo
%%NLS%%share/locale/ar/LC_MESSAGES/lxterminal.mo