2011-07-01 08:38:55 +02:00
|
|
|
# New ports collection makefile for: iniparser
|
|
|
|
# Date created: 01 July 2011
|
|
|
|
# Whom: Kevin Lo <kevlo@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= iniparser
|
2012-09-01 08:45:23 +02:00
|
|
|
PORTVERSION= 3.1
|
2011-07-01 08:38:55 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://ndevilla.free.fr/iniparser/
|
|
|
|
|
|
|
|
MAINTAINER= kevlo@FreeBSD.org
|
2012-09-18 04:09:45 +02:00
|
|
|
COMMENT= Free stand-alone ini file parsing library
|
2011-07-01 08:38:55 +02:00
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2012-09-18 04:09:45 +02:00
|
|
|
USE_LDCONFIG= yes
|
2011-07-01 08:38:55 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2012-09-18 04:09:45 +02:00
|
|
|
PLIST_FILES= include/dictionary.h include/iniparser.h lib/libiniparser.a \
|
|
|
|
lib/libiniparser.so lib/libiniparser.so.0
|
|
|
|
|
2011-07-01 08:38:55 +02:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE}
|
|
|
|
|
|
|
|
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.0 ${PREFIX}/lib
|
|
|
|
@${LN} -sf libiniparser.so.0 ${PREFIX}/lib/libiniparser.so
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|