Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 01:58:17 +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: r346730 - head/x11-servers/Xfstt
Message-ID:  <201403020158.s221wHgo084172@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Mar  2 01:58:17 2014
New Revision: 346730
URL: http://svnweb.freebsd.org/changeset/ports/346730
QAT: https://qat.redports.org/buildarchive/r346730/

Log:
  Support stage

Modified:
  head/x11-servers/Xfstt/Makefile
  head/x11-servers/Xfstt/pkg-plist

Modified: head/x11-servers/Xfstt/Makefile
==============================================================================
--- head/x11-servers/Xfstt/Makefile	Sun Mar  2 01:55:36 2014	(r346729)
+++ head/x11-servers/Xfstt/Makefile	Sun Mar  2 01:58:17 2014	(r346730)
@@ -9,19 +9,18 @@ MASTER_SITES=	${MASTER_SITE_BERLIOS}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A TrueType font server for X11
+COMMENT=	TrueType font server for X11
+
+OPTIONS_DEFINE=	DOCS
 
 USE_XORG=	fontsproto xproto
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=/var --disable-nls
 
-MAN1=		xfstt.1x
-
 TTFONTDIR=	${PREFIX}/lib/X11/fonts/TrueType
 
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 post-patch:
 .for file in INSTALL doc/xfstt.1x src/Makefile.in
 	@${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file}
@@ -30,14 +29,11 @@ post-patch:
 		> ${WRKSRC}/xfstt.sh
 
 post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/xfstt.sh ${PREFIX}/etc/rc.d
-	@${MKDIR} ${TTFONTDIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/xfstt.sh ${STAGEDIR}${PREFIX}/etc/rc.d
+	@${MKDIR} ${STAGEDIR}${TTFONTDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for _file in CHANGES INSTALL THANKS
-	${INSTALL_DATA} ${WRKSRC}/${_file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/x11-servers/Xfstt/pkg-plist
==============================================================================
--- head/x11-servers/Xfstt/pkg-plist	Sun Mar  2 01:55:36 2014	(r346729)
+++ head/x11-servers/Xfstt/pkg-plist	Sun Mar  2 01:58:17 2014	(r346730)
@@ -1,5 +1,6 @@
 bin/xfstt
 etc/rc.d/xfstt.sh
+man/man1/xfstt.1x.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL
 %%PORTDOCS%%%%DOCSDIR%%/THANKS



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