opnsense-ports/devel/libdbusmenu/Makefile

54 lines
1.3 KiB
Makefile

# Created by: Olivier Duchateau
# $FreeBSD$
PORTNAME= libdbusmenu
PORTVERSION= 16.04.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://launchpadlibrarian.net/243440794/ \
https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/
MAINTAINER= ports@FreeBSD.org
COMMENT= GLib and Gtk Implementation of the DBusMenu protocol
LICENSE= GPLv3 LGPL21 LGPL3
LICENSE_COMB= multi
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING-GPL3
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.2.1
BUILD_DEPENDS= vapigen:lang/vala \
gtkdoc-check:textproc/gtk-doc
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib
GNU_CONFIGURE= yes
USES= compiler gmake gnome libtool pathfix pkgconfig python:run \
shebangfix
USE_GNOME= gnomedocutils:build glib20 intltool intlhack libxslt \
introspection:build gtk30
USE_XORG= x11
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
SHEBANG_FILES= tools/dbusmenu-bench
PLIST_SUB= VERSION="0.4"
CONFIGURE_ARGS= --disable-static \
--disable-static \
--disable-dumper \
--disable-tests \
--disable-massivedebugging \
--enable-introspection=yes \
--disable-nls \
--enable-vala \
--with-gtk=3
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
CFLAGS+= -Wno-unused-value
.endif
.include <bsd.port.post.mk>