diff --git a/devel/libconfig/Makefile b/devel/libconfig/Makefile index 6ed4381cc61..bc6cd76ca1e 100644 --- a/devel/libconfig/Makefile +++ b/devel/libconfig/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.4 2008/06/23 17:47:46 wcmaier Exp $ +# $OpenBSD: Makefile,v 1.5 2008/09/16 16:52:15 jasper Exp $ COMMENT= library for manipulating structured configuration files -DISTNAME= libconfig-1.3 +DISTNAME= libconfig-1.3.1 -SHARED_LIBS= config 6.0 \ - config++ 6.0 +SHARED_LIBS= config 7.0 \ + config++ 7.0 CATEGORIES= devel @@ -13,7 +13,7 @@ HOMEPAGE= http://www.hyperrealm.com/libconfig/libconfig.html MAINTAINER= Markus Bergkvist -# LGPL +# LGPLv2.1 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes @@ -24,4 +24,11 @@ MASTER_SITES= http://www.hyperrealm.com/libconfig/ USE_LIBTOOL= Yes CONFIGURE_STYLE= gnu +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libconfig + ${INSTALL_DATA} ${WRKSRC}/samples/c/*.c \ + ${PREFIX}/share/examples/libconfig + ${INSTALL_DATA} ${WRKSRC}/samples/c++/*.cpp \ + ${PREFIX}/share/examples/libconfig + .include diff --git a/devel/libconfig/distinfo b/devel/libconfig/distinfo index 55e2de8d3c8..ef45b334709 100644 --- a/devel/libconfig/distinfo +++ b/devel/libconfig/distinfo @@ -1,5 +1,5 @@ -MD5 (libconfig-1.3.tar.gz) = APLr+staC3sCtAm3UUMrgA== -RMD160 (libconfig-1.3.tar.gz) = VnOxUBB86lsPy9bj4iXsSO7GuDo= -SHA1 (libconfig-1.3.tar.gz) = QZeGJkoDsijNmc7J1PYjDIIRjIM= -SHA256 (libconfig-1.3.tar.gz) = /ewY9srZvvJWcvk2b3tqVnV6u2c6xS/YdzTqKYhtG5U= -SIZE (libconfig-1.3.tar.gz) = 519403 +MD5 (libconfig-1.3.1.tar.gz) = 8Cv6J6IbMEAIkCaXW53AuA== +RMD160 (libconfig-1.3.1.tar.gz) = legFRnsaWAuXd9I7wOMY3LZvW7g= +SHA1 (libconfig-1.3.1.tar.gz) = uTCBye/zbiuj+X/3B6BpoSDpexs= +SHA256 (libconfig-1.3.1.tar.gz) = VnfzLv8YSIPXykAiNPkhQvNb6n0E1QO+zdEEroNDyxw= +SIZE (libconfig-1.3.1.tar.gz) = 529332 diff --git a/devel/libconfig/pkg/PLIST b/devel/libconfig/pkg/PLIST index 56340915865..2626a369ef1 100644 --- a/devel/libconfig/pkg/PLIST +++ b/devel/libconfig/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/21 20:19:05 merdely Exp $ +@comment $OpenBSD: PLIST,v 1.2 2008/09/16 16:52:15 jasper Exp $ %%SHARED%% include/libconfig.h include/libconfig.h++ @@ -10,3 +10,12 @@ lib/libconfig.la lib/pkgconfig/ lib/pkgconfig/libconfig++.pc lib/pkgconfig/libconfig.pc +share/examples/libconfig/ +share/examples/libconfig/sample1.c +share/examples/libconfig/sample1.cpp +share/examples/libconfig/sample2.c +share/examples/libconfig/sample2.cpp +share/examples/libconfig/sample3.c +share/examples/libconfig/sample3.cpp +share/examples/libconfig/stub.c +share/examples/libconfig/stubcpp.cpp