# Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= subtitleeditor PORTVERSION= 0.41.1 CATEGORIES= multimedia MASTER_SITES= http://download.gna.org/${PORTNAME}/${PORTVERSION:C/\.[0-9]*$//}/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Subtitle editor LICENSE= GPLv3 BUILD_DEPENDS= iso-codes>0:${PORTSDIR}/misc/iso-codes LIB_DEPENDS= libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 \ libpcre.so:${PORTSDIR}/devel/pcre \ libenchant.so:${PORTSDIR}/textproc/enchant RUN_DEPENDS:= ${BUILD_DEPENDS} USES= desktop-file-utils gettext gmake libtool pkgconfig USE_GNOME= gtkmm24 USE_GSTREAMER= good mm GNU_CONFIGURE= yes INSTALL_TARGET= install-strip INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPENGL OPTIONS_SUB= yes NLS_CONFIGURE_OFF= --disable-nls OPENGL_LIB_DEPENDS= libgtkglextmm-x11-1.2.so:${PORTSDIR}/x11-toolkits/gtkglextmm OPENGL_USE= gl=glu OPENGL_CONFIGURE_ENABLE=gl post-patch: @${REINPLACE_CMD} -e \ 's|"GNU strip"|"strip"|' ${WRKSRC}/configure .include