1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/devel/dotconf/Makefile
Dmitry Marakasov d41b53c904 - Switch to USES=libtool, drop .la files
- Strip libraries
2014-06-04 13:05:32 +00:00

36 lines
868 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= dotconf
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GENTOO/distfiles
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple, powerful configuration-file parser
LICENSE= LGPL21
OPTIONS_DEFINE= DOCS EXAMPLES
USES= pathfix pkgconfig libtool
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e \
'/^SUBDIR/s|=.*|= src|' ${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for ex in README argdouble caseinsensitive context duplicates errorhandler \
fallback libpool maketest.sh modules noinline simple
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${ex} ${STAGEDIR}${EXAMPLESDIR})
.endfor
.include <bsd.port.mk>