summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-09-06 10:16:25 +0000
committerrillig <rillig@pkgsrc.org>2006-09-06 10:16:25 +0000
commit8ed612e45f693632f0d3861d472fba4ffff11491 (patch)
tree8ed26d5ca2484113468f80912dd3855379636b8a /geography
parent72ba6aa405c8662c2b248527263ef503cb6a4043 (diff)
downloadpkgsrc-8ed612e45f693632f0d3861d472fba4ffff11491.tar.gz
Fixed hard-coded paths.
Diffstat (limited to 'geography')
-rw-r--r--geography/proj-swig/Makefile12
1 files changed, 8 insertions, 4 deletions
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"