summaryrefslogtreecommitdiff
path: root/devel/pkgconfig
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2001-08-13 06:55:41 +0000
committerrh <rh@pkgsrc.org>2001-08-13 06:55:41 +0000
commit196cdc5f750abb61a466e6466064c4784a176e75 (patch)
treece1b9c8a1868d4dc1a95f8da46638827a1dd89d1 /devel/pkgconfig
parent3de8bb459471e4914a545f03065664bf227a8f4a (diff)
downloadpkgsrc-196cdc5f750abb61a466e6466064c4784a176e75.tar.gz
Correctly create (upon installation) and remove (on deinstall) the
pkgconfig directory.
Diffstat (limited to 'devel/pkgconfig')
-rw-r--r--devel/pkgconfig/Makefile5
-rw-r--r--devel/pkgconfig/pkg/PLIST4
2 files changed, 7 insertions, 2 deletions
diff --git a/devel/pkgconfig/Makefile b/devel/pkgconfig/Makefile
index b6528846ec1..5182897dc33 100644
--- a/devel/pkgconfig/Makefile
+++ b/devel/pkgconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/08/11 14:15:37 rh Exp $
+# $NetBSD: Makefile,v 1.2 2001/08/13 06:55:41 rh Exp $
#
DISTNAME= pkgconfig-0.8.0
@@ -16,4 +16,7 @@ post-configure:
${RM} -f ${WRKSRC}/libtool
${LN} -s ${LOCALBASE}/bin/libtool ${WRKSRC}
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
+
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/pkgconfig/pkg/PLIST b/devel/pkgconfig/pkg/PLIST
index 97660864a6c..601bd247afc 100644
--- a/devel/pkgconfig/pkg/PLIST
+++ b/devel/pkgconfig/pkg/PLIST
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/11 14:15:37 rh Exp $
+@comment $NetBSD: PLIST,v 1.2 2001/08/13 06:55:41 rh Exp $
bin/pkg-config
man/man1/pkg-config.1
share/aclocal/pkg.m4
+@exec mkdir -p %D/lib/pkgconfig
+@dirrm lib/pkgconfig