Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 12:30:56 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348217 - head/www/ttf2eot
Message-ID:  <201403141230.s2ECUu5v075784@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Mar 14 12:30:56 2014
New Revision: 348217
URL: http://svnweb.freebsd.org/changeset/ports/348217
QAT: https://qat.redports.org/buildarchive/r348217/

Log:
  Support staging

Modified:
  head/www/ttf2eot/Makefile

Modified: head/www/ttf2eot/Makefile
==============================================================================
--- head/www/ttf2eot/Makefile	Fri Mar 14 12:27:50 2014	(r348216)
+++ head/www/ttf2eot/Makefile	Fri Mar 14 12:30:56 2014	(r348217)
@@ -15,15 +15,14 @@ ALL_TARGET=	ttf2eot
 PLIST_FILES=	bin/ttf2eot
 PORTDOCS=	README
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ttf2eot ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/ttf2eot ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${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?201403141230.s2ECUu5v075784>