Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 08:25:16 +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: r340577 - head/devel/libtpl
Message-ID:  <201401210825.s0L8PGtN058827@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jan 21 08:25:16 2014
New Revision: 340577
URL: http://svnweb.freebsd.org/changeset/ports/340577
QAT: https://qat.redports.org/buildarchive/r340577/

Log:
  Support stage

Modified:
  head/devel/libtpl/Makefile

Modified: head/devel/libtpl/Makefile
==============================================================================
--- head/devel/libtpl/Makefile	Tue Jan 21 08:24:46 2014	(r340576)
+++ head/devel/libtpl/Makefile	Tue Jan 21 08:25:16 2014	(r340577)
@@ -9,6 +9,8 @@ MASTER_SITES=	GH
 MAINTAINER=	culot@FreeBSD.org
 COMMENT=	Tpl is a library for serializing C data
 
+OPTIONS_DEFINE=	DOCS
+
 LICENSE=	BSD
 
 USE_BZIP2=	yes
@@ -27,15 +29,10 @@ PLIST_FILES=	lib/libtpl.la lib/libtpl.a 
 
 PORTDOCS=	ChangeLog.txt examples.txt userguide.txt compiling.txt
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${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?201401210825.s0L8PGtN058827>