svn commit: r315704 - head/multimedia/subtitleeditor
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Apr 3 11:34:54 UTC 2013
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
+ at dirrmtry share/icons/hicolor/scalable/apps
+ at dirrmtry share/icons/hicolor/scalable
+ at dirrmtry share/icons/hicolor/32x32/apps
+ at dirrmtry share/icons/hicolor/32x32
+ at dirrmtry share/icons/hicolor/24x24/apps
+ at dirrmtry share/icons/hicolor/24x24
+ at dirrmtry share/icons/hicolor/22x22/apps
+ at dirrmtry share/icons/hicolor/22x22
+ at dirrmtry share/icons/hicolor/16x16/apps
+ at dirrmtry share/icons/hicolor/16x16
+ at dirrmtry share/icons/hicolor
+ at dirrmtry share/icons
@dirrm share/subtitleeditor
@dirrm lib/subtitleeditor/plugins/subtitleformats
@dirrm lib/subtitleeditor/plugins/actions
More information about the svn-ports-all
mailing list