freebsd-ports/devel/iniparser/Makefile

30 lines
850 B
Makefile
Raw Normal View History

2013-08-01 08:43:44 +02:00
# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$
PORTNAME= iniparser
2012-09-01 08:45:23 +02:00
PORTVERSION= 3.1
CATEGORIES= devel
MASTER_SITES= http://ndevilla.free.fr/iniparser/
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Free stand-alone ini file parsing library
LICENSE= MIT
USE_LDCONFIG= yes
2014-01-28 22:35:29 +01:00
MAKE_ARGS= CC="${CC}"
2013-08-01 08:43:44 +02:00
ALL_TARGET=
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= include/dictionary.h include/iniparser.h lib/libiniparser.a \
lib/libiniparser.so lib/libiniparser.so.0
do-install:
2014-01-28 22:35:29 +01:00
${INSTALL_DATA} ${WRKSRC}/src/dictionary.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/src/iniparser.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libiniparser.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/libiniparser.so.0 ${STAGEDIR}${PREFIX}/lib
@${LN} -sf libiniparser.so.0 ${STAGEDIR}${PREFIX}/lib/libiniparser.so
.include <bsd.port.mk>