Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2012 16:07:30 +0000 (UTC)
From:      Alberto Villa <avilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303292 - head/deskutils/semantik
Message-ID:  <201208281607.q7SG7U3q092758@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avilla
Date: Tue Aug 28 16:07:29 2012
New Revision: 303292
URL: http://svn.freebsd.org/changeset/ports/303292

Log:
  - Update to 0.8.0.
  - Make NLS implicitly optional.

Modified:
  head/deskutils/semantik/Makefile   (contents, props changed)
  head/deskutils/semantik/distinfo   (contents, props changed)
  head/deskutils/semantik/pkg-descr   (contents, props changed)
  head/deskutils/semantik/pkg-plist   (contents, props changed)

Modified: head/deskutils/semantik/Makefile
==============================================================================
--- head/deskutils/semantik/Makefile	Tue Aug 28 16:04:18 2012	(r303291)
+++ head/deskutils/semantik/Makefile	Tue Aug 28 16:07:29 2012	(r303292)
@@ -6,37 +6,46 @@
 #
 
 PORTNAME=	semantik
-PORTVERSION=	0.7.3
-PORTREVISION=	2
+PORTVERSION=	0.8.0
 CATEGORIES=	deskutils kde
 MASTER_SITES=	http://${PORTNAME}.googlecode.com/files/ \
 		http://freehackers.org/~tnagy/
 
 MAINTAINER=	avilla@FreeBSD.org
-COMMENT=	KDE mindmapping tool
+COMMENT=	KDE mind mapping tool
 
 LICENSE=	GPLv3
 
-USE_BZIP2=	yes
-USE_GETTEXT=	yes
 USE_KDE4=	kdehier kdelibs kdeprefix
 USE_OCAML=	yes
 NO_OCAML_RUNDEPENDS=	yes
-USE_PYTHON_BUILD=	2.5+
+USE_PYTHON=	2.5+
 USE_QT4=	corelib gui linguist svg webkit xml \
 		moc_build qmake_build uic_build
-MAKE_JOBS_SAFE=	yes
+USE_BZIP2=	yes
 CONFIGURE_ENV=	PATH="${KDE4_PREFIX}/bin:$$PATH" WAF_HOME="${WRKSRC}"
 CPPFLAGS+=	-I${LOCALBASE}/include
 CFLAGS+=	-I${LOCALBASE}/include
+MAKE_JOBS_SAFE=	yes
 USE_LDCONFIG=	yes
 
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.else
+PLIST_SUB+=	NLS="@comment "
+.endif
+
 pre-configure:
 	${REINPLACE_CMD} -e 's/kde-config/kde4-config/g' \
 		-e '/conf.env.CXXFLAGS =/ s|= '"'"'[^'"'"']*|= '"'"'${CXXFLAGS}|' \
-		-e 's/-lstr/-lcamlstr/g' \
-		-e '/obj.langs/ d' \
 		${WRKSRC}/wscript
+.if empty(PORT_OPTIONS:MNLS)
+	${REINPLACE_CMD} -e '/langs/ d' \
+		${WRKSRC}/wscript
+.endif
 
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./waf configure --prefix=${PREFIX}
@@ -47,10 +56,5 @@ do-build:
 do-install:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install
 	@${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
-.for lang in es fr
-	@${LOCALBASE}/bin/msgfmt \
-		-o ${KDE4_PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo \
-		${WRKSRC}/src/po/${lang}.po
-.endfor
 
 .include <bsd.port.mk>

Modified: head/deskutils/semantik/distinfo
==============================================================================
--- head/deskutils/semantik/distinfo	Tue Aug 28 16:04:18 2012	(r303291)
+++ head/deskutils/semantik/distinfo	Tue Aug 28 16:07:29 2012	(r303292)
@@ -1,2 +1,2 @@
-SHA256 (semantik-0.7.3.tar.bz2) = fb9be0f7b27772ec1debd95ca7b85d9ac68f8242ca097791b7a03317de10e899
-SIZE (semantik-0.7.3.tar.bz2) = 378795
+SHA256 (semantik-0.8.0.tar.bz2) = 0755ed0ef4c2461c97a1591ed5e62a4154e1f10080db0729af5b092a626a144a
+SIZE (semantik-0.8.0.tar.bz2) = 385223

Modified: head/deskutils/semantik/pkg-descr
==============================================================================
--- head/deskutils/semantik/pkg-descr	Tue Aug 28 16:04:18 2012	(r303291)
+++ head/deskutils/semantik/pkg-descr	Tue Aug 28 16:07:29 2012	(r303292)
@@ -1,4 +1,4 @@
-The goal of semantik is to help to structure ideas and concepts by
+The goal of Semantik is to help to structure ideas and concepts by
 associating them into a tree. The tree is there to help to see how the
 ideas interact, and then to develop them further (add ramifications).
 
@@ -6,10 +6,11 @@ An idea is represented by a shape which 
 The ideas can be connected, but there is a constraint: an idea cannot
 have more than one parent.
 
-A semantik mind-map can be exported as a picture, or used to generate
-documents. Templates include pdflatex (article, book) and html file
+A Semantik mind map can be exported as a picture, or used to generate
+documents. Templates include pdflatex (article, book) and HTML file
 formats.
 
-Semantik is the replacement for kdissert and requires KDE 4.
+Semantik is the replacement for Kdissert and requires KDE Development
+Platform 4.
 
 WWW: http://freehackers.org/~tnagy/semantik.html

Modified: head/deskutils/semantik/pkg-plist
==============================================================================
--- head/deskutils/semantik/pkg-plist	Tue Aug 28 16:04:18 2012	(r303291)
+++ head/deskutils/semantik/pkg-plist	Tue Aug 28 16:07:29 2012	(r303292)
@@ -133,6 +133,7 @@ share/apps/semantik/templates/html/def.c
 share/apps/semantik/templates/html/index.html
 share/apps/semantik/templates/java.sem.py
 share/apps/semantik/templates/java/Kadapplet.java
+share/apps/semantik/templates/java/Makefile
 share/apps/semantik/templates/java/Mapview.java
 share/apps/semantik/templates/java/main.html
 share/apps/semantik/templates/odp.sem.py
@@ -167,6 +168,7 @@ share/apps/semantik/templates/waf
 share/apps/semantik/tips
 share/icons/hicolor/128x128/apps/semantik.png
 share/icons/hicolor/22x22/apps/semantik.png
+share/icons/hicolor/32x32/apps/semantik.png
 share/icons/hicolor/48x48/apps/semantik.png
 share/icons/hicolor/64x64/apps/semantik.png
 share/icons/oxygen/128x128/actions/semantik_sort.png
@@ -184,8 +186,14 @@ share/icons/oxygen/32x32/actions/semanti
 share/icons/oxygen/32x32/actions/semantik_sort.png
 share/icons/oxygen/48x48/actions/semantik_move.png
 share/icons/oxygen/64x64/actions/semantik_sort.png
-share/locale/es/LC_MESSAGES/semantik.mo
-share/locale/fr/LC_MESSAGES/semantik.mo
+%%NLS%%share/locale/cz/LC_MESSAGES/semantik.mo
+%%NLS%%share/locale/el/LC_MESSAGES/semantik.mo
+%%NLS%%share/locale/es/LC_MESSAGES/semantik.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/semantik.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/semantik.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/semantik.mo
+%%NLS%%@dirrmtry share/locale/cz/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/cz
 @dirrm share/apps/semantik/templates/s5/ui/default
 @dirrm share/apps/semantik/templates/s5/ui
 @dirrm share/apps/semantik/templates/s5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208281607.q7SG7U3q092758>