57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# Created by: Olivier Duchateau
|
|
|
|
PORTNAME= libdbusmenu
|
|
PORTVERSION= 16.04.0
|
|
PORTREVISION= 3
|
|
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
|
|
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= compiler gettext-tools:build,run gmake gnome libtool pathfix \
|
|
pkgconfig python:run shebangfix xorg
|
|
USE_GNOME= 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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_BUILD_DEPENDS= gtkdoc-check:textproc/gtk-doc
|
|
DOCS_CONFIGURE_ENABLE= gtk-doc
|
|
DOCSDIR= ${PREFIX}/share/gtk-doc/html/
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == gcc
|
|
CFLAGS+= -Wno-unused-value
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|