summaryrefslogtreecommitdiff
path: root/databases/postgresql-client
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-24 16:25:32 +0000
committerwiz <wiz@pkgsrc.org>2002-10-24 16:25:32 +0000
commit819a06fa2d102821fbe804778d1f32096d666f7c (patch)
tree3dcc5606e347f880b1e146ccd52899e65fc1e345 /databases/postgresql-client
parente7501558e64bd45f74e09aa80511164987a64d1d (diff)
downloadpkgsrc-819a06fa2d102821fbe804778d1f32096d666f7c.tar.gz
Use pax instead of relying on gtar (wwww).
Diffstat (limited to 'databases/postgresql-client')
-rw-r--r--databases/postgresql-client/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/databases/postgresql-client/Makefile b/databases/postgresql-client/Makefile
index 317455763f0..7568f82dbe2 100644
--- a/databases/postgresql-client/Makefile
+++ b/databases/postgresql-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2002/10/24 13:18:05 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2002/10/24 16:25:32 wiz Exp $
PKGNAME= postgresql-client-${BASE_VERS}
COMMENT= PostgreSQL database client programs
@@ -13,20 +13,14 @@ MAKE_ENV+= INSTALLED_LIBPQ=1
BUILD_DIRS= ${WRKSRC}/src/bin
-# we need the real GNU tar
-BUILD_DEPENDS+= gtar-base-*:../../archivers/gtar-base
-EVAL_PREFIX+= GTARPREFIX=gtar-base
-GTARPREFIX_DEFAULT= ${LOCALBASE}
-GTAR= ${GTARPREFIX}/bin/gtar
-
pre-build:
cd ${WRKSRC}/src/bin/psql && \
${RM} -f pqsignal.h && \
${LN} -sf ../../interfaces/libpq/pqsignal.h pqsignal.h
post-install:
- ${SED} -e "s|^#.*||" ${FILESDIR}/exclude \
- | ${GTAR} zxCXf ${PREFIX}/man - ${WRKSRC}/doc/man.tar.gz
+ cd ${PREFIX}/man && \
+ ${PAX} -crzf ${WRKSRC}/doc/man.tar.gz `${GREP} -v ^# ${FILESDIR}/exclude`
.include "../../databases/postgresql-lib/buildlink2.mk"
.include "../../devel/readline/buildlink2.mk"