33 lines
699 B
Makefile
33 lines
699 B
Makefile
# $OpenBSD: Makefile,v 1.5 2019/07/12 20:44:36 sthen Exp $
|
|
|
|
COMMENT= ini file parsing library
|
|
|
|
DISTNAME= iniparser-3.1
|
|
REVISION= 1
|
|
|
|
SHARED_LIBS += iniparser 0.0 # 0
|
|
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://ndevilla.free.fr/iniparser/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
WRKDIST= ${WRKDIR}/iniparser
|
|
ALL_TARGET= default
|
|
TEST_TARGET= check
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/src/dictionary.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/src/iniparser.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/libiniparser.a ${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/libiniparser.so.${LIBiniparser_VERSION} ${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|