Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 23:06:45 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336128 - head/devel/dotconf
Message-ID:  <201312102306.rBAN6jtv064546@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312102306.rBAN6jtv064546>