Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 15:42:30 +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: r343268 - head/x11-fonts/charis
Message-ID:  <201402071542.s17FgUGl085385@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb  7 15:42:30 2014
New Revision: 343268
URL: http://svnweb.freebsd.org/changeset/ports/343268
QAT: https://qat.redports.org/buildarchive/r343268/

Log:
  Support staging.

Modified:
  head/x11-fonts/charis/Makefile

Modified: head/x11-fonts/charis/Makefile
==============================================================================
--- head/x11-fonts/charis/Makefile	Fri Feb  7 15:40:16 2014	(r343267)
+++ head/x11-fonts/charis/Makefile	Fri Feb  7 15:42:30 2014	(r343268)
@@ -26,12 +26,11 @@ USE_TGZ=	yes	#prevent bsd.xorg.mk from s
 PLIST_FILES+=	${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}/${PORTNAME}-${type}.ttf
 .endfor
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt
-.endif
 
 SUB_LIST=	DIR="${FONTROOTDIR}/${FONTDIR}"
 SUB_FILES=	pkg-message
@@ -40,14 +39,9 @@ do-configure:
 	@${DO_NADA}
 
 do-install:
-	@${MKDIR} ${FONTROOTDIR}/${FONTDIR}
-	@(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${FONTROOTDIR}/${FONTDIR})
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
-.endif
-	@${ECHO_MSG}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_MSG}
+	${MKDIR} ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}
+	(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR})
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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