svn commit: r328417 - head/x11-fonts/gentium-basic

Matthew Seaman matthew at FreeBSD.org
Thu Sep 26 21:37:33 UTC 2013


Author: matthew
Date: Thu Sep 26 21:37:32 2013
New Revision: 328417
URL: http://svnweb.freebsd.org/changeset/ports/328417

Log:
  - Support staging

Modified:
  head/x11-fonts/gentium-basic/Makefile

Modified: head/x11-fonts/gentium-basic/Makefile
==============================================================================
--- head/x11-fonts/gentium-basic/Makefile	Thu Sep 26 21:27:28 2013	(r328416)
+++ head/x11-fonts/gentium-basic/Makefile	Thu Sep 26 21:37:32 2013	(r328417)
@@ -19,7 +19,7 @@ USE_TGZ=	yes
 XORG_CAT=	font
 
 FONTLIBPATH=	lib/X11/fonts
-FONTROOTDIR=	${PREFIX}/${FONTLIBPATH}
+FONTROOTDIR=	${STAGEDIR}${PREFIX}/${FONTLIBPATH}
 INSTALLS_TTF=	yes
 MEDIA_ID=	${PORTNAME}_${PORTVERSION}_tar
 NO_BUILD=	yes
@@ -34,13 +34,12 @@ PLIST_FILES=	${FONTLIBPATH}/${FONTDIR}/G
 		${FONTLIBPATH}/${FONTDIR}/GenBkBasI.ttf \
 		${FONTLIBPATH}/${FONTDIR}/GenBkBasR.ttf
 
-SUB_LIST=	"FONTPATH=${FONTROOTDIR}/${FONTDIR}"
+SUB_LIST=	"FONTPATH=${PREFIX}/${FONTLIBPATH}/${FONTDIR}"
 SUB_FILES=	pkg-message
 
 DOCSLIST=	FONTLOG.txt GENTIUM-FAQ.txt OFL-FAQ.txt
 PORTDOCS=	${DOCSLIST:C,^.*/,,}
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .SILENT:
@@ -49,9 +48,6 @@ do-configure:
 	@${DO_NADA}
 
 do-install: install-fonts install-docs
-	${ECHO_MSG}
-	${CAT} ${PKGMESSAGE}
-	${ECHO_MSG}
 
 install-fonts:
 	${MKDIR} ${FONTROOTDIR}/${FONTDIR}
@@ -59,8 +55,8 @@ install-fonts:
 
 install-docs:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list