1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/dotconf++/Makefile
Dmitry Marakasov 60d0b7d184 - Switch to USES=libtool, drop .la files
- Strip libraries
2014-05-30 15:49:51 +00:00

30 lines
677 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++
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>