summaryrefslogtreecommitdiff
path: root/databases/postgresql/Makefile.common
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-03-18 17:43:16 +0000
committerjlam <jlam@pkgsrc.org>2000-03-18 17:43:16 +0000
commit9983612216f1d1e5c31772065738fd49fcf09ff0 (patch)
treefda70077218bb8cf29d114803ea906d30f3a3349 /databases/postgresql/Makefile.common
parentd8e78911c9ef7e8130d3d43abdc64aec1615d077 (diff)
downloadpkgsrc-9983612216f1d1e5c31772065738fd49fcf09ff0.tar.gz
Change structure of postgresql package. Shared library build is now
unlibtoolized. Things now install into ${PREFIX} instead of ${PREFIX}/${PGSQL_USER} to match hier(7) expectations. The Tcl and Tk interfaces are now split out into separate packages. This closes the following PRs: 7384, 8747, 8789, 9272, 9461.
Diffstat (limited to 'databases/postgresql/Makefile.common')
-rw-r--r--databases/postgresql/Makefile.common36
1 files changed, 36 insertions, 0 deletions
diff --git a/databases/postgresql/Makefile.common b/databases/postgresql/Makefile.common
new file mode 100644
index 00000000000..4e83ba72817
--- /dev/null
+++ b/databases/postgresql/Makefile.common
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile.common,v 1.1 2000/03/18 17:43:16 jlam Exp $
+
+DISTNAME= postgresql-6.5.3
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+CATEGORIES= databases
+MASTER_SITES= ftp://ftp.PostgreSQL.org/pub/ \
+ ftp://ftp.sunsite.auc.dk/mirrors/www.postgresql.org/pub/ \
+ ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.PostgreSQL.ORG/
+
+BUILD_DEPENDS+= ${LOCALBASE}/bin/autoreconf:../../devel/autoconf
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+FILESDIR= ${.CURDIR}/../../databases/postgresql/files
+PATCHDIR= ${.CURDIR}/../../databases/postgresql/patches
+
+.include "../../mk/bsd.prefs.mk"
+
+CONFIGURE_ARGS+= --with-template="${LOWER_OPSYS}" \
+ --enable-locale
+
+post-extract:
+ @${CP} ${FILESDIR}/Makefile.custom ${WRKSRC}
+ @${LN} -sf bsd.c ${WRKSRC}/backend/port/dynloader/netbsd.c
+ @${LN} -sf bsd.h ${WRKSRC}/backend/port/dynloader/netbsd.h
+ @${LN} -sf bsd.h ${WRKSRC}/include/port/netbsd.h
+ @${LN} -sf Makefile.bsd ${WRKSRC}/makefiles/Makefile.netbsd
+
+pre-configure:
+ cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf
+
+.include "../../mk/bsd.pkg.mk"