svn commit: r336128 - head/devel/dotconf
Baptiste Daroussin
bapt at FreeBSD.org
Tue Dec 10 23:06:46 UTC 2013
Author: bapt
Date: Tue Dec 10 23:06:45 2013
New Revision: 336128
URL: http://svnweb.freebsd.org/changeset/ports/336128
Log:
Support stage
Modified:
head/devel/dotconf/Makefile
Modified: head/devel/dotconf/Makefile
==============================================================================
--- head/devel/dotconf/Makefile Tue Dec 10 23:03:44 2013 (r336127)
+++ head/devel/dotconf/Makefile Tue Dec 10 23:06:45 2013 (r336128)
@@ -7,30 +7,27 @@ CATEGORIES= devel
MASTER_SITES= GENTOO/distfiles
MAINTAINER= ports at FreeBSD.org
-COMMENT= A simple, powerful configuration-file parser
+COMMENT= Simple, powerful configuration-file parser
LICENSE= LGPL21
+OPTIONS_DEFINE= DOCS EXAMPLES
+
USES= pathfix pkgconfig
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
'/^SUBDIR/s|=.*|= src|' ${WRKSRC}/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
+ @${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} ${EXAMPLESDIR})
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${ex} ${STAGEDIR}${EXAMPLESDIR})
.endfor
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list