Add example.cfg to have all examples (needed by other examples).
Delete "c" in WANTLIB because indicated in Extra. Bump revision. ok jasper@
This commit is contained in:
parent
ac02ccf542
commit
ceb9943c7b
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2010/12/15 09:31:46 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2011/01/16 11:16:12 rpointel Exp $
|
||||
|
||||
COMMENT= library for manipulating structured configuration files
|
||||
|
||||
DISTNAME= libconfig-1.4.6
|
||||
REVISION = 0
|
||||
|
||||
SHARED_LIBS= config 9.0 \
|
||||
config++ 9.0
|
||||
@ -22,7 +23,7 @@ MASTER_SITES= http://www.hyperrealm.com/libconfig/
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
WANTLIB += c m stdc++
|
||||
WANTLIB += m stdc++
|
||||
|
||||
REGRESS_TARGET = test
|
||||
|
||||
@ -32,5 +33,7 @@ post-install:
|
||||
${PREFIX}/share/examples/libconfig
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/c++/*.cpp \
|
||||
${PREFIX}/share/examples/libconfig
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/c/*.cfg \
|
||||
${PREFIX}/share/examples/libconfig
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2010/12/15 09:31:46 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2011/01/16 11:16:12 rpointel Exp $
|
||||
%%SHARED%%
|
||||
include/libconfig.h
|
||||
include/libconfig.h++
|
||||
@ -11,6 +11,7 @@ lib/pkgconfig/
|
||||
lib/pkgconfig/libconfig++.pc
|
||||
lib/pkgconfig/libconfig.pc
|
||||
share/examples/libconfig/
|
||||
share/examples/libconfig/example.cfg
|
||||
share/examples/libconfig/example1.c
|
||||
share/examples/libconfig/example1.cpp
|
||||
share/examples/libconfig/example2.c
|
||||
|
Loading…
Reference in New Issue
Block a user