Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 08:52:10 +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: r341343 - head/devel/libxalloc
Message-ID:  <201401270852.s0R8qAH4011147@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 27 08:52:10 2014
New Revision: 341343
URL: http://svnweb.freebsd.org/changeset/ports/341343
QAT: https://qat.redports.org/buildarchive/r341343/

Log:
  Support stage
  Add a DOCS option

Modified:
  head/devel/libxalloc/Makefile

Modified: head/devel/libxalloc/Makefile
==============================================================================
--- head/devel/libxalloc/Makefile	Mon Jan 27 08:48:34 2014	(r341342)
+++ head/devel/libxalloc/Makefile	Mon Jan 27 08:52:10 2014	(r341343)
@@ -8,20 +8,19 @@ MASTER_SITES=	http://shh.thathost.com/pu
 DISTNAME=	xalloc-${PORTVERSION}
 
 MAINTAINER=	rodrigo@bebik.net
-COMMENT=	A memory allocation library with error checking
+COMMENT=	Memory allocation library with error checking
+
+OPTIONS_DEFINE=	DOCS
+
+USES=		uidfix
 
 MAKEFILE=	${FILESDIR}/Makefile.lib
 USE_LDCONFIG=	yes
 MAKE_ENV=	WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/CREDITS ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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