svn commit: r341343 - head/devel/libxalloc

Baptiste Daroussin bapt at FreeBSD.org
Mon Jan 27 08:52:11 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list