openbsd-ports/devel/iniparser/Makefile
2012-08-04 15:01:06 +00:00

36 lines
790 B
Makefile

# $OpenBSD: Makefile,v 1.2 2012/08/04 15:01:06 ajacoutot Exp $
COMMENT= ini file parsing library
DISTNAME= iniparser-3.1
REVISION= 0
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>