7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.47 2014/05/29 23:38:19 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= gtk-sharp-2.12.10
|
|
PKGREVISION= 30
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk-sharp/2.12/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.mono-project.com/GtkSharp
|
|
COMMENT= C\# bindings for GTK
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
PREV_PKGPATH= x11/gtk2-sharp
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config gmake perl:run
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
REPLACE_PERL+= parser/*.pl
|
|
PKGCONFIG_OVERRIDE+= gtk/gtk-sharp-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gtkdotnet/gtk-dotnet-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= glib/glib-sharp-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= parser/gapi-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= glade/glade-sharp-2.0.pc.in
|
|
|
|
SUBST_CLASSES+= relprefix
|
|
SUBST_MESSAGE.relprefix=Replacing relative prefix in pkg-config files.
|
|
SUBST_STAGE.relprefix= post-patch
|
|
SUBST_FILES.relprefix= ${PKGCONFIG_OVERRIDE}
|
|
SUBST_SED.relprefix= -e 's|$${pcfiledir}/../..|@prefix@|g'
|
|
|
|
.include "../../devel/libglade/buildlink3.mk"
|
|
.include "../../lang/mono2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.12.0
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|