2021-12-08 17:01:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.48 2021/12/08 16:02:55 adam Exp $
|
2008-12-18 01:32:14 +01:00
|
|
|
|
2009-11-20 12:32:38 +01:00
|
|
|
DISTNAME= libunique-1.1.6
|
2021-12-08 17:01:42 +01:00
|
|
|
PKGREVISION= 33
|
2008-12-18 01:32:14 +01:00
|
|
|
CATEGORIES= devel
|
2009-11-20 12:32:38 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libunique/1.1/}
|
2008-12-18 01:32:14 +01:00
|
|
|
|
2010-05-07 10:34:22 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-10-03 14:12:34 +02:00
|
|
|
HOMEPAGE= https://wiki.gnome.org/Attic/LibUnique
|
|
|
|
COMMENT= Library for writing single instance applications (deprecated)
|
2010-01-30 17:27:59 +01:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2008-12-18 01:32:14 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2009-07-26 22:13:31 +02:00
|
|
|
USE_TOOLS+= pkg-config gmake
|
2008-12-18 01:32:14 +01:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= unique.pc.in
|
|
|
|
|
2012-10-08 12:32:13 +02:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
|
2009-09-30 11:22:47 +02:00
|
|
|
# Workaround for Upstream Bug#562310.
|
|
|
|
# for more detail, see also PR#41475.
|
|
|
|
TOOLS_NOOP+= gtkdoc-rebase
|
|
|
|
|
2012-02-14 07:03:11 +01:00
|
|
|
SUBST_CLASSES+= g_const
|
|
|
|
SUBST_STAGE.g_const= post-configure
|
|
|
|
SUBST_MESSAGE.g_const= Replace deprecated G_CONST_RETURN with plain "const".
|
|
|
|
SUBST_FILES.g_const= unique/uniqueapp.c
|
|
|
|
SUBST_FILES.g_const+= unique/uniquebackend.c
|
|
|
|
SUBST_FILES.g_const+= unique/uniquebackend.h
|
|
|
|
SUBST_FILES.g_const+= unique/uniqueinternals.h
|
|
|
|
SUBST_FILES.g_const+= unique/uniquemessage.c
|
|
|
|
SUBST_FILES.g_const+= unique/uniquemessage.h
|
|
|
|
SUBST_SED.g_const= -e 's/G_CONST_RETURN /const /g'
|
|
|
|
|
2011-08-02 19:11:40 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
CFLAGS+= -Wno-tautological-compare
|
|
|
|
.endif
|
|
|
|
|
2008-12-18 01:32:14 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|