- Update to 0.3.0

- Remove DOCS option
- Adjust dependencies
- Remove unneeded patch
This commit is contained in:
Olivier Duchateau 2016-12-20 17:42:59 +00:00
parent 14eec0f1a6
commit 09cd6c0bf6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429004
4 changed files with 13 additions and 29 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= lxterminal
PORTVERSION= 0.2.0
PORTREVISION= 2
PORTVERSION= 0.3.0
CATEGORIES= sysutils
MASTER_SITES= SF/lxde/LXTerminal%20%28terminal%20emulator%29/LXTerminal%20${PORTVERSION}/
@ -12,32 +11,28 @@ COMMENT= Lightweight terminal emulator from the LXDE project
LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
LIB_DEPENDS= libvte.so:x11-toolkits/vte
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= gmake iconv pkgconfig
USE_GNOME= gtk20 intlhack
USES= gmake localbase pkgconfig tar:xz
USE_GNOME= gtk20 glib20 cairo vte intltool
USE_XORG= x11 xext
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_LDCONFIG= yes
PORTDOCS= AUTHORS README
INSTALLS_ICONS= YES
OPTIONS_DEFINE= DOCS NLS
CONFIGURE_ARGS= --enable-gtk3=no
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
NLS_USES_OFF= gettext-tools
NLS_CPPFLAGS= -I${LOCALBASE}/include
NLS_LDFLAGS= -L${LOCALBASE}/lib
post-patch-NLS-off:
@${REINPLACE_CMD} -e 's|src po|src|' \
${WRKSRC}/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (lxterminal-0.2.0.tar.gz) = 174b0e99652f72acd7a98b6ff1b75eba1a9bf364996e6f118cccdaba0d282baf
SIZE (lxterminal-0.2.0.tar.gz) = 248698
TIMESTAMP = 1482250130
SHA256 (lxterminal-0.3.0.tar.xz) = 2a424653565f04f4459cc86756e583f3107ca90e5e81250804dced5f8236c7f9
SIZE (lxterminal-0.3.0.tar.xz) = 193056

View file

@ -1,11 +0,0 @@
--- src/setting.c.orig 2014-10-21 15:29:18 UTC
+++ src/setting.c
@@ -162,7 +162,7 @@ void save_setting()
/* Deep copy settings. */
Setting * copy_setting(Setting * setting)
{
- g_return_if_fail (setting != NULL);
+ g_return_val_if_fail (setting != NULL, NULL);
/* Allocate structure. */
Setting * new_setting = g_slice_new0(Setting);

View file

@ -16,7 +16,6 @@ share/icons/hicolor/128x128/apps/lxterminal.png
%%NLS%%share/locale/en_GB/LC_MESSAGES/lxterminal.mo
%%NLS%%share/locale/eo/LC_MESSAGES/lxterminal.mo
%%NLS%%share/locale/es/LC_MESSAGES/lxterminal.mo
%%NLS%%share/locale/es_VE/LC_MESSAGES/lxterminal.mo
%%NLS%%share/locale/et/LC_MESSAGES/lxterminal.mo
%%NLS%%share/locale/eu/LC_MESSAGES/lxterminal.mo
%%NLS%%share/locale/fa/LC_MESSAGES/lxterminal.mo