[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / geography / proj-swig

File: [cvs.NetBSD.org] / pkgsrc / geography / proj-swig / Attic / Makefile (download)

Revision 1.34, Mon Sep 2 13:20:21 2019 UTC (4 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.33: +2 -2 lines

Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8

# $NetBSD: Makefile,v 1.34 2019/09/02 13:20:21 adam Exp $

DISTNAME=		proj-swig-0.02
PKGREVISION=		10
CATEGORIES=		geography
MASTER_SITES=		# http://acert.ir.bbn.com/downloads/acert-geospatial/

MAINTAINER=		gdt@NetBSD.org
#HOMEPAGE=		http://acert.ir.bbn.com/downloads/acert-geospatial/
COMMENT=		Guile and python wrappers for proj

MAKE_JOBS_SAFE=		no

USE_PKGLOCALEDIR=	yes
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes

# Defines PYSITELIB, apparently.
PY_PATCHPLIST=		yes
PYTHON_VERSIONS_ACCEPTED=	27 # not yet ported as of 0.02

# Find guile20's includes
CFLAGS+=		-I${BUILDLINK_PREFIX.guile20}/include/guile/2.0

# Use swig2
SUBST_CLASSES+=		swig2
SUBST_STAGE.swig2=	pre-configure
SUBST_MESSSAGE.swig2=	Using swig2.
SUBST_FILES.swig2=	Makefile.in
SUBST_SED.swig2=	-e s/swig/swig2.0/

# The perl build is commented out upstream, so this doesn't have any
# effect.
SUBST_CLASSES+=		pkg
SUBST_STAGE.pkg=	pre-configure
SUBST_MESSAGE.pkg=	Replacing /usr/pkg with the correct PREFIX.
SUBST_FILES.pkg=	Makefile.in
SUBST_SED.pkg=		-e 's,/usr/pkg,${PREFIX},g'

.include "../../devel/swig2/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"
.include "../../lang/guile20/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"