- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here Reviewed by: zeising
46 lines
976 B
Makefile
46 lines
976 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= sabbu
|
|
PORTVERSION= 0.3.0
|
|
PORTREVISION= 12
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Sabbu%20${PORTVERSION}
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= Program used to time subtitles
|
|
|
|
LIB_DEPENDS= avcodec:${PORTSDIR}/multimedia/ffmpeg \
|
|
sndfile:${PORTSDIR}/audio/libsndfile
|
|
|
|
USES= pkgconfig iconv
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GNOME= gtk20
|
|
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lswscale
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB+= WITH_NLS="@comment "
|
|
.else
|
|
USES+= gettext
|
|
PLIST_SUB+= WITH_NLS=""
|
|
.endif
|
|
|
|
ASPELL_PORT?= textproc/aspell
|
|
.if !defined(WITHOUT_GTKSPELL)
|
|
LIB_DEPENDS+= gtkspell:${PORTSDIR}/textproc/gtkspell
|
|
PLIST_SUB+= WITH_ASPELL=""
|
|
.else
|
|
PLIST_SUB+= WITH_ASPELL="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
BROKEN= Does not configure on powerpc
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|