pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/proj-swig Fixed hard-coded paths.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb74fcd04a84
branches:  trunk
changeset: 518300:eb74fcd04a84
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Sep 06 10:16:25 2006 +0000

description:
Fixed hard-coded paths.

diffstat:

 geography/proj-swig/Makefile |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 1aa4f0b5271f -r eb74fcd04a84 geography/proj-swig/Makefile
--- a/geography/proj-swig/Makefile      Wed Sep 06 10:06:13 2006 +0000
+++ b/geography/proj-swig/Makefile      Wed Sep 06 10:16:25 2006 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index