diff options
author | recht <recht@pkgsrc.org> | 2004-07-24 22:17:56 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-07-24 22:17:56 +0000 |
commit | 29d305a3c7d0fa0922c89526339d86ddfe721dbe (patch) | |
tree | 7fb26679f72f087918c4a2e3770b99531d0cb0fc /databases/postgresql73-lib/Makefile | |
parent | ec2f6590010a4124db14b72a4c287af50cae15e6 (diff) | |
download | pkgsrc-29d305a3c7d0fa0922c89526339d86ddfe721dbe.tar.gz |
reimport of postgresql-lib as postgresql73-lib
PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS),
derived from the Berkeley Postgres database management system. While
PostgreSQL retains the powerful object-relational data model, rich data types
and easy extensibility of Postgres, it replaces the PostQuel query language
with an extended subset of SQL.
PostgreSQL is free and the complete source is available.
This package contains the database headers and libraries.
Diffstat (limited to 'databases/postgresql73-lib/Makefile')
-rw-r--r-- | databases/postgresql73-lib/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/databases/postgresql73-lib/Makefile b/databases/postgresql73-lib/Makefile new file mode 100644 index 00000000000..dc3481fc697 --- /dev/null +++ b/databases/postgresql73-lib/Makefile @@ -0,0 +1,47 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/07/24 22:17:56 recht Exp $ + +PKGNAME= postgresql73-lib-${BASE_VERS} +SVR4_PKGNAME= pstgl +COMMENT= PostgreSQL database headers and libraries + +PKG_INSTALLATION_TYPES= overwrite pkgviews +USE_BUILDLINK3= yes + +.include "../../databases/postgresql73/Makefile.common" + +CONFIGURE_ARGS+= --with-openssl=${SSLBASE} +BUILD_DIRS= ${WRKSRC}/src/include +BUILD_DIRS+= ${WRKSRC}/src/interfaces +BUILD_DIRS+= ${WRKSRC}/src/pl + +USE_PKGINSTALL= yes +DEINSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL +INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL + +INSTALLATION_DIRS= man + +.if ${OPSYS} == "FreeBSD" +PLIST_SUBST+= LIBECPG="@comment " +PLIST_SUBST+= LIBPQ="@comment " +.else +PLIST_SUBST+= LIBECPG= +PLIST_SUBST+= LIBPQ= +.endif + +post-buildlink: +# +# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and +# "/usr/include/crypt.h" -- we want the definitions in the former. +# +.if (${OPSYS} == "SunOS") + ${TOUCH} ${BUILDLINK_DIR}/include/crypt.h +.endif + +post-install: + cd ${WRKSRC}/src/include && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} install-all-headers + ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \ + `${SED} -e "s|^#.*||" ${FILESDIR}/man.lib` + +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |