diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-29 23:35:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-29 23:35:32 +0000 |
commit | 45efbe599752e5b2e2e967cecf5680e1d4ccc90b (patch) | |
tree | 705debd4a23ae3bdc7b98253a7cf91c5e978fcb7 /geography/postgresql81-postgis/Makefile | |
parent | a94b219c1ba580cc519d6419e060425fed33f66c (diff) | |
download | pkgsrc-45efbe599752e5b2e2e967cecf5680e1d4ccc90b.tar.gz |
Honour PKG_SYSCONFDIR and don't write unconditionally to /etc/default.
Bump revision.
Diffstat (limited to 'geography/postgresql81-postgis/Makefile')
-rw-r--r-- | geography/postgresql81-postgis/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/geography/postgresql81-postgis/Makefile b/geography/postgresql81-postgis/Makefile index f3eac697ac1..d04eea84885 100644 --- a/geography/postgresql81-postgis/Makefile +++ b/geography/postgresql81-postgis/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2007/02/22 19:30:03 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2007/06/29 23:35:32 joerg Exp $ DISTNAME= postgis-${VERSION} VERSION= 1.2.1 +PKGREVISION= 1 PKGNAME= postgresql81-postgis-${VERSION} MASTER_SITES= http://postgis.refractions.net/download/ CATEGORIES= databases geography @@ -25,6 +26,16 @@ CONFIGURE_ARGS+= --datadir=${PREFIX}/share/postgresql/contrib DOCDIR= ${PREFIX}/share/doc/postgis HTMLDIR= ${PREFIX}/share/doc/html/postgis +SUBST_CLASSES+= paths +SUBST_FILES.paths= extras/template_gis/profile \ + extras/template_gis/createdb.postgis.1 \ + extras/template_gis/mktemplate_gis.1 \ + extras/template_gis/postgis_env.sh.in +SUBST_VARS.paths+= PKG_SYSCONFDIR +SUBST_STAGE.paths= pre-configure + +CONF_FILES= share/examples/postgis/profile ${PKG_SYSCONFDIR}/postgis + # Install is manual because distribution fails if docbook prereqs are not # satisfied, rather than using the prebuilt versions which are actually # in the distfile. |