ceb9943c7b
Delete "c" in WANTLIB because indicated in Extra. Bump revision. ok jasper@
40 lines
896 B
Makefile
40 lines
896 B
Makefile
# $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
|
|
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.hyperrealm.com/libconfig/libconfig.html
|
|
|
|
# LGPLv2.1
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www.hyperrealm.com/libconfig/
|
|
|
|
USE_LIBTOOL= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
WANTLIB += m stdc++
|
|
|
|
REGRESS_TARGET = test
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libconfig
|
|
${INSTALL_DATA} ${WRKSRC}/examples/c/*.c \
|
|
${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>
|