freebsd-ports/devel/iniparser/Makefile
Baptiste Daroussin 3eaed21587 Support stage
Strip binaries
2014-01-28 21:35:29 +00:00

29 lines
850 B
Makefile

# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$
PORTNAME= iniparser
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
MAKE_ARGS= CC="${CC}"
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:
${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>