Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 22:04:33 +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: r343159 - head/devel/uthash
Message-ID:  <201402062204.s16M4XpF052208@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Feb  6 22:04:33 2014
New Revision: 343159
URL: http://svnweb.freebsd.org/changeset/ports/343159
QAT: https://qat.redports.org/buildarchive/r343159/

Log:
  Support stage

Modified:
  head/devel/uthash/Makefile

Modified: head/devel/uthash/Makefile
==============================================================================
--- head/devel/uthash/Makefile	Thu Feb  6 22:00:07 2014	(r343158)
+++ head/devel/uthash/Makefile	Thu Feb  6 22:04:33 2014	(r343159)
@@ -7,10 +7,11 @@ CATEGORIES=	devel
 MASTER_SITES=	GH
 
 MAINTAINER=	zi@FreeBSD.org
-COMMENT=	A hash table for C structures
+COMMENT=	hash table for C structures
 
 LICENSE=	BSD
-LICENSE_FILE=	${WRKSRC}/LICENSE
+
+OPTIONS_DEFINE=	DOCS
 
 USE_BZIP2=	yes
 NO_BUILD=	yes
@@ -24,19 +25,14 @@ PORTDOCS=	ChangeLog.txt todo.txt usergui
 PLIST_FILES=	include/utarray.h include/uthash.h include/utlist.h \
 		include/utstring.h
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 do-install:
-	@${INSTALL_DATA} ${WRKSRC}/src/utarray.h ${PREFIX}/include/
-	@${INSTALL_DATA} ${WRKSRC}/src/uthash.h ${PREFIX}/include/
-	@${INSTALL_DATA} ${WRKSRC}/src/utlist.h ${PREFIX}/include/
-	@${INSTALL_DATA} ${WRKSRC}/src/utstring.h ${PREFIX}/include/
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/src/utarray.h \
+		${WRKSRC}/src/uthash.h \
+		${WRKSRC}/src/utlist.h \
+		${WRKSRC}/src/utstring.h ${STAGEDIR}${PREFIX}/include/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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