summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorrillig <rillig>2006-09-06 10:16:25 +0000
committerrillig <rillig>2006-09-06 10:16:25 +0000
commit7f1541204ffac67e00f056f02f0f4f28e745a5c9 (patch)
tree8ed26d5ca2484113468f80912dd3855379636b8a /geography
parentbf38dc6df47400d35f5c96956bac60773f8aed80 (diff)
downloadpkgsrc-7f1541204ffac67e00f056f02f0f4f28e745a5c9.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"