freebsd-ports/devel/dotconf++/Makefile
2018-01-29 12:56:00 +00:00

32 lines
763 B
Makefile

# Created by: Mark Starovoytov <mark_sf@kikg.ifmo.ru>
# $FreeBSD$
PORTNAME= dotconfpp
PORTVERSION= 0.0.5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF \
http://voodoo.com.ua/dotconfpp/
MAINTAINER= ports@FreeBSD.org
COMMENT= Configuration file parser written in C++
DEPRECATED= No upstream, not depend on in the ports tree
EXPIRATION_DATE= 2018-03-01
USES= compiler:env libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
${WRKSRC}/src/dotconfpp.h ${WRKSRC}/src/mempool.h
.if ${COMPILER_TYPE} == "clang"
@${REINPLACE_CMD} -e 's|-fexpensive-optimizations||' \
${WRKSRC}/src/example?/Makefile.in
.endif
.include <bsd.port.post.mk>