Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2013 11:34:53 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315704 - head/multimedia/subtitleeditor
Message-ID:  <201304031134.r33BYr0R007981@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Apr  3 11:34:53 2013
New Revision: 315704
URL: http://svnweb.freebsd.org/changeset/ports/315704

Log:
  - Fix package list
  - Remove code for EOL FreeBSD versions
  - Drop ABI version in LIB_DEPENDS (where not needed)
  - Provide NLS option
  
  Approved by:	portmgr (bdrewery)

Modified:
  head/multimedia/subtitleeditor/Makefile
  head/multimedia/subtitleeditor/pkg-plist

Modified: head/multimedia/subtitleeditor/Makefile
==============================================================================
--- head/multimedia/subtitleeditor/Makefile	Wed Apr  3 11:27:42 2013	(r315703)
+++ head/multimedia/subtitleeditor/Makefile	Wed Apr  3 11:34:53 2013	(r315704)
@@ -3,7 +3,7 @@
 
 PORTNAME=	subtitleeditor
 PORTVERSION=	0.40.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	http://download.gna.org/${PORTNAME}/${PORTVERSION:C/\.[0-9]*$//}/ \
 		CRITICAL
@@ -16,13 +16,12 @@ RUN_DEPENDS=	${LOCALBASE}/libdata/pkgcon
 LIB_DEPENDS=	gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
 		glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
 		gstreamermm-0.10.2:${PORTSDIR}/multimedia/gstreamermm \
-		enchant.1:${PORTSDIR}/textproc/enchant \
-		pcre.3:${PORTSDIR}/devel/pcre
+		enchant:${PORTSDIR}/textproc/enchant \
+		pcre:${PORTSDIR}/devel/pcre
 
 USE_GMAKE=	yes
 USE_GNOME=	gtk20
 USE_GSTREAMER=	good
-USE_GETTEXT=	yes
 INSTALLS_ICONS=	yes
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -30,10 +29,16 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 PLIST_SUB=	DESKTOPDIR="${DESKTOPDIR:S,^${PREFIX}/,,}"
 MAN1=		subtitleeditor.1
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	NLS
+
+.include <bsd.port.options.mk>
 
-.if ${OSVERSION} < 700043
-BROKEN=		does not compile
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+=	NLS="@comment "
 .endif
 
 post-patch:
@@ -41,4 +46,4 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|strtoll|strtoq|g' ${WRKSRC}/plugins/subtitleformats/advancedsubstationalpha/advancedsubstationalpha.cc
 	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/plugins/actions/findandreplace/findandreplace.cc
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/multimedia/subtitleeditor/pkg-plist
==============================================================================
--- head/multimedia/subtitleeditor/pkg-plist	Wed Apr  3 11:27:42 2013	(r315703)
+++ head/multimedia/subtitleeditor/pkg-plist	Wed Apr  3 11:34:53 2013	(r315704)
@@ -122,30 +122,30 @@ share/icons/hicolor/22x22/apps/subtitlee
 share/icons/hicolor/24x24/apps/subtitleeditor.png
 share/icons/hicolor/32x32/apps/subtitleeditor.png
 share/icons/hicolor/scalable/apps/subtitleeditor.svg
-share/locale/bg/LC_MESSAGES/subtitleeditor.mo
-share/locale/el/LC_MESSAGES/subtitleeditor.mo
-share/locale/ca/LC_MESSAGES/subtitleeditor.mo
-share/locale/cs/LC_MESSAGES/subtitleeditor.mo
-share/locale/da/LC_MESSAGES/subtitleeditor.mo
-share/locale/de/LC_MESSAGES/subtitleeditor.mo
-share/locale/en_GB/LC_MESSAGES/subtitleeditor.mo
-share/locale/eo/LC_MESSAGES/subtitleeditor.mo
-share/locale/es/LC_MESSAGES/subtitleeditor.mo
-share/locale/fr/LC_MESSAGES/subtitleeditor.mo
-share/locale/gl/LC_MESSAGES/subtitleeditor.mo
-share/locale/hu/LC_MESSAGES/subtitleeditor.mo
-share/locale/it/LC_MESSAGES/subtitleeditor.mo
-share/locale/nl/LC_MESSAGES/subtitleeditor.mo
-share/locale/pl/LC_MESSAGES/subtitleeditor.mo
-share/locale/pt/LC_MESSAGES/subtitleeditor.mo
-share/locale/lt/LC_MESSAGES/subtitleeditor.mo
-share/locale/zh_TW/LC_MESSAGES/subtitleeditor.mo
-share/locale/pt_BR/LC_MESSAGES/subtitleeditor.mo
-share/locale/pt_PT/LC_MESSAGES/subtitleeditor.mo
-share/locale/ru/LC_MESSAGES/subtitleeditor.mo
-share/locale/sr/LC_MESSAGES/subtitleeditor.mo
-share/locale/tr/LC_MESSAGES/subtitleeditor.mo
-share/locale/zh_CN/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/el/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/da/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/de/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/es/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/it/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/subtitleeditor.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/subtitleeditor.mo
 share/pixmaps/subtitleeditor.svg
 share/subtitleeditor/menubar.xml
 share/subtitleeditor/plugins-description/actions/about.se-plugin
@@ -261,6 +261,18 @@ share/subtitleeditor/plugins-share/subst
 @dirrm share/subtitleeditor/plugins-description/subtitleformats
 @dirrm share/subtitleeditor/plugins-description/actions
 @dirrm share/subtitleeditor/plugins-description
+@dirrmtry share/icons/hicolor/scalable/apps
+@dirrmtry share/icons/hicolor/scalable
+@dirrmtry share/icons/hicolor/32x32/apps
+@dirrmtry share/icons/hicolor/32x32
+@dirrmtry share/icons/hicolor/24x24/apps
+@dirrmtry share/icons/hicolor/24x24
+@dirrmtry share/icons/hicolor/22x22/apps
+@dirrmtry share/icons/hicolor/22x22
+@dirrmtry share/icons/hicolor/16x16/apps
+@dirrmtry share/icons/hicolor/16x16
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
 @dirrm share/subtitleeditor
 @dirrm lib/subtitleeditor/plugins/subtitleformats
 @dirrm lib/subtitleeditor/plugins/actions



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