1 2 3PORTNAME= dotconf 4PORTVERSION= 1.3 5CATEGORIES= devel 6MASTER_SITES= GENTOO 7 8MAINTAINER= ports@MidnightBSD.org 9COMMENT= Simple, powerful configuration-file parser 10 11LICENSE= lgpl2.1 12 13OPTIONS_DEFINE= DOCS EXAMPLES 14 15USES= pathfix pkgconfig libtool 16GNU_CONFIGURE= yes 17INSTALL_TARGET= install-strip 18USE_LDCONFIG= yes 19 20post-patch: 21 @${REINPLACE_CMD} -e \ 22 '/^SUBDIR/s|=.*|= src|' ${WRKSRC}/Makefile.in 23 24post-install: 25 @${MKDIR} ${DOCSDIR} 26 ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR} 27 @${MKDIR} ${EXAMPLESDIR} 28.for ex in README argdouble caseinsensitive context duplicates errorhandler \ 29 fallback libpool maketest.sh modules noinline simple 30 @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${ex} ${EXAMPLESDIR}) 31.endfor 32 33.include <bsd.port.mk> 34