pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql-lib Move @exec/@unexec PLIST acti...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f565a817af9c
branches: trunk
changeset: 466608:f565a817af9c
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Jan 21 08:14:29 2004 +0000
description:
Move @exec/@unexec PLIST actions into a INSTALL file.
diffstat:
databases/postgresql-lib/INSTALL | 14 ++++++++++++++
databases/postgresql-lib/Makefile | 8 ++++----
databases/postgresql-lib/PLIST | 4 +---
3 files changed, 19 insertions(+), 7 deletions(-)
diffs (62 lines):
diff -r 7703271ce755 -r f565a817af9c databases/postgresql-lib/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql-lib/INSTALL Wed Jan 21 08:14:29 2004 +0000
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1 2004/01/21 08:14:29 jlam Exp $
+
+case ${STAGE} in
+POST-INSTALL)
+ ${RM} -f ${PKG_PREFIX}/include/pgsql
+ ${LN} -fs postgresql ${PKG_PREFIX}/include/pgsql
+ ;;
+
+DEINSTALL)
+ ${RM} -f ${PKG_PREFIX}/include/pgsql
+ ;;
+esac
diff -r 7703271ce755 -r f565a817af9c databases/postgresql-lib/Makefile
--- a/databases/postgresql-lib/Makefile Wed Jan 21 08:04:29 2004 +0000
+++ b/databases/postgresql-lib/Makefile Wed Jan 21 08:14:29 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/01/20 14:23:09 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2004/01/21 08:14:29 jlam Exp $
PKGNAME= postgresql-lib-${BASE_VERS}
PKGREVISION= 1
@@ -14,7 +14,9 @@
BUILD_DIRS+= ${WRKSRC}/src/interfaces
BUILD_DIRS+= ${WRKSRC}/src/pl
-.include "../../mk/bsd.prefs.mk"
+USE_PKGINSTALL= yes
+DEINSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
+INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL
post-buildlink:
#
@@ -30,8 +32,6 @@
${MAKE_PROGRAM} install-all-headers
${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \
`${SED} -e "s|^#.*||" ${FILESDIR}/man.lib`
- ${RM} -f ${PREFIX}/include/pgsql
- ${LN} -sf postgresql ${PREFIX}/include/pgsql
.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 7703271ce755 -r f565a817af9c databases/postgresql-lib/PLIST
--- a/databases/postgresql-lib/PLIST Wed Jan 21 08:04:29 2004 +0000
+++ b/databases/postgresql-lib/PLIST Wed Jan 21 08:14:29 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2003/01/05 20:12:24 jlam Exp $
+@comment $NetBSD: PLIST,v 1.5 2004/01/21 08:14:29 jlam Exp $
bin/ecpg
include/postgresql/ecpgerrno.h
include/postgresql/ecpglib.h
@@ -366,5 +366,3 @@
@dirrm include/postgresql/internal/lib
@dirrm include/postgresql/internal
@dirrm include/postgresql
-@exec ${RM} -f %D/include/pgsql; ${LN} -sf postgresql %D/include/pgsql || ${TRUE}
-@unexec ${RM} -f %D/include/pgsql || ${TRUE}
Home |
Main Index |
Thread Index |
Old Index