62e4a805b1
- Add NLS option - Remove pre-configure target Changelog: https://github.com/baedert/corebird/releases/tag/1.3.3 Approved by: amdmi3 (mentor) Differential Revision: D8164
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# Created by: Olivier Duchateau
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= corebird
|
|
PORTVERSION= 1.3.3
|
|
CATEGORIES= net-im
|
|
|
|
MAINTAINER= cpm@FreeBSD.org
|
|
COMMENT= GTK3 Twitter client written in Vala
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= valac:lang/vala
|
|
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
|
|
libnotify.so:devel/libnotify \
|
|
libjson-glib-1.0.so:devel/json-glib \
|
|
librest-0.7.so:devel/librest
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= baedert
|
|
|
|
USES= autoreconf compiler:c++11-lang gmake libtool pkgconfig sqlite
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 intltool libxml2 pango
|
|
INSTALLS_ICONS= yes
|
|
|
|
OPTIONS_DEFINE= GSTREAMER NLS
|
|
OPTIONS_DEFAULT= GSTREAMER
|
|
OPTIONS_SUB= yes
|
|
|
|
GSTREAMER_USE= gstreamer1=yes,bad,good,gtksink,hls,libav,x,ximagesrc
|
|
GSTREAMER_CONFIGURE_OFF= --disable-video
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
|
|
|
GLIB_SCHEMAS= org.baedert.corebird.gschema.xml
|
|
|
|
post-extract:
|
|
@(cd ${WRKSRC}/data && ${MV} org.baedert.corebird.desktop.in \
|
|
corebird.desktop.in)
|
|
|
|
# Replace locales files in right place
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \
|
|
${WRKSRC}/po/Makefile
|
|
|
|
.include <bsd.port.mk>
|