From 7f1541204ffac67e00f056f02f0f4f28e745a5c9 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 6 Sep 2006 10:16:25 +0000 Subject: Fixed hard-coded paths. --- geography/proj-swig/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'geography') diff --git a/geography/proj-swig/Makefile b/geography/proj-swig/Makefile index e5be186473e..f8ff035ca8b 100644 --- a/geography/proj-swig/Makefile +++ b/geography/proj-swig/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2006/08/28 13:59:51 gdt Exp $ +# $NetBSD: Makefile,v 1.4 2006/09/06 10:16:25 rillig Exp $ # DISTNAME= proj-swig-0.01 @@ -10,15 +10,19 @@ MAINTAINER= gdt@NetBSD.org HOMEPAGE= http://acert.ir.bbn.com/downloads/acert-geospatial/ COMMENT= Guile and python wrappers for proj -USE_LANGUAGES+= c - USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes -HAS_CONFIGURE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV+= PYTHON=${PYTHONBIN} PY_PATCHPLIST= yes +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/swig/buildlink3.mk" .include "../../lang/guile/buildlink3.mk" .include "../../lang/python/extension.mk" -- cgit v1.2.3