openbsd-ports/devel/iniparser/Makefile
ajacoutot e55737906f Import iniparser-3.1.
iniParser is a simple C library offering ini file parsing services.

input from and ok jasper@
2012-06-16 09:48:38 +00:00

35 lines
782 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/06/16 09:48:38 ajacoutot Exp $
COMMENT= ini file parsing library
DISTNAME= iniparser-3.1
SHARED_LIBS += iniparser 0.0 # 0
CATEGORIES= devel
HOMEPAGE= http://ndevilla.free.fr/iniparser/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
WRKDIST= ${WRKDIR}/iniparser
ALL_TARGET= default
REGRESS_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>