diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-11 04:58:11 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-11 04:58:11 +0000 |
commit | b345761190ed0484cf7adb45e7e11d985229c85c (patch) | |
tree | 2c7f116960dbf41f955c5ffafdefdd4669cba10d /databases/postgresql-devel/Makefile | |
parent | 890f2760095f1651925dedd7799d8d66097dc941 (diff) | |
download | ports-b345761190ed0484cf7adb45e7e11d985229c85c.tar.gz ports-b345761190ed0484cf7adb45e7e11d985229c85c.zip |
upgrade to 7.2.1
PR: 36975
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=57555
Diffstat (limited to 'databases/postgresql-devel/Makefile')
-rw-r--r-- | databases/postgresql-devel/Makefile | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/databases/postgresql-devel/Makefile b/databases/postgresql-devel/Makefile index b6de1b047a54..c1825160da27 100644 --- a/databases/postgresql-devel/Makefile +++ b/databases/postgresql-devel/Makefile @@ -6,9 +6,11 @@ # PORTNAME?= postgresql -PORTVERSION?= 7.2 +PORTVERSION?= 7.2.1 CATEGORIES?= databases MASTER_SITES= ftp://ftp.postgresql.org/pub/%SUBDIR%/ \ + ftp://ftp.se.postgresql.org/pub/database/relational/postgresql/%SUBDIR%/ \ + ftp://ftp2.ch.postgresql.org/mirror/postgresql/%SUBDIR%/ \ ftp://ftp.de.postgresql.org/mirror/postgresql/%SUBDIR%/ \ ftp://ftp.chg.ru/pub/databases/postgresql/%SUBDIR%/ \ ftp://ftp.sunet.se/pub/unix/databases/relational/postgresql/%SUBDIR%/ \ @@ -39,8 +41,6 @@ MD5_FILE= ${.CURDIR}/../postgresql7/distinfo ## The rest of this file is for normal base installation INSTALLS_SHLIB= YES -USE_GMAKE= YES -GNU_CONFIGURE= YES CONFIGURE_ARGS= --enable-locale --enable-syslog --with-CXX \ --docdir=${PREFIX}/share/doc --with-libdir=${LOCALBASE}/lib \ --with-includes=${LOCALBASE}/include @@ -64,13 +64,6 @@ PLIST_SUB+= GETTEXT="" PLIST_SUB+= GETTEXT="@comment " .endif -.if defined(WITHOUT_SERVER) -PKGMESSAGE= ${PKGDIR}/pkg-message.client -PLIST_SUB+= SERVER="@comment " -.else -PLIST_SUB+= SERVER="" -.endif - .if !defined(WITHOUT_SSL) USE_OPENSSL= yes CONFIGURE_ARGS+= "--with-openssl=${OPENSSLBASE}" @@ -113,6 +106,13 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif +.if defined(WITHOUT_SERVER) +PKGMESSAGE= ${PKGDIR}/pkg-message.client +PLIST_SUB+= SERVER="@comment " +.else +PLIST_SUB+= SERVER="" +.endif + .if defined(WITHOUT_MULTIBYTE) PLIST_SUB+= MULTIBYTE="@comment " .else @@ -138,14 +138,15 @@ post-install: ${SED} "s|/usr/local|${PREFIX}|g" |\ tee ${PREFIX}/share/postgresql/post-install-notes .if !defined(DEBUG_FLAGS) -.for file in ecpg pg_dump pg_id pg_passwd pg_restore postgres psql - @ strip ${PREFIX}/${PG_PREFIX}bin/${file} +.for file in ecpg pg_dump pg_id pg_passwd pg_restore psql + @ strip ${PREFIX}/bin/${file} .endfor .endif .if !defined(WITHOUT_SERVER) # install shell defaults for pgsql user + @ strip ${PREFIX}/bin/postgres .for i in profile cshrc - @ ${SED} "s|%%PREFIX%%|${PREFIX}|g; s|%%PG_PREFIX%%|${PG_PREFIX}|g" \ + @ ${SED} "s|%%PREFIX%%|${PREFIX}|g" \ < ${FILESDIR}/dot.$i.in \ > ${PREFIX}/share/postgresql/dot.$i.dist; \ ${CP} ${PREFIX}/share/postgresql/dot.$i.dist ~pgsql/; \ @@ -164,6 +165,16 @@ post-install: ${WRKSRC}/src/interfaces/odbc/odbc.sql \ ${WRKSRC}/src/interfaces/odbc/odbc-drop.sql \ ${PREFIX}/share/postgresql +.else +do-install: + @ cd ${WRKSRC}; \ + ${GMAKE} -C src/bin install ;\ + ${GMAKE} -C src/include install ;\ + ${GMAKE} -C src/interfaces install +.if !defined(NOPORTDOCS) + @ cd ${WRKSRC}; \ + ${GMAKE} -C doc install +.endif .endif post-clean: |