summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrh <rh>2001-08-13 06:55:41 +0000
committerrh <rh>2001-08-13 06:55:41 +0000
commitb831038edebd00712a0bfef696427c8f2718c3d2 (patch)
treece1b9c8a1868d4dc1a95f8da46638827a1dd89d1 /devel
parentec0fd28729729d849f3e82067ba3d82a9774f1b6 (diff)
downloadpkgsrc-b831038edebd00712a0bfef696427c8f2718c3d2.tar.gz
Correctly create (upon installation) and remove (on deinstall) the
pkgconfig directory.
Diffstat (limited to 'devel')
-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