Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 15:44:06 +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: r343269 - head/x11-fonts/charis-compact
Message-ID:  <201402071544.s17Fi6ov085654@svn.freebsd.org>

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

Log:
  Support staging.

Modified:
  head/x11-fonts/charis-compact/Makefile

Modified: head/x11-fonts/charis-compact/Makefile
==============================================================================
--- head/x11-fonts/charis-compact/Makefile	Fri Feb  7 15:42:30 2014	(r343268)
+++ head/x11-fonts/charis-compact/Makefile	Fri Feb  7 15:44:06 2014	(r343269)
@@ -29,12 +29,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 feat_set_tuned.xml
-.endif
 
 SUB_LIST=	DIR="${FONTROOTDIR}/${FONTDIR}"
 SUB_FILES=	pkg-message
@@ -43,14 +42,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?201402071544.s17Fi6ov085654>