Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2014 01:15:14 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356273 - head/print/mftrace
Message-ID:  <201406030115.s531FEbn038363@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jun  3 01:15:13 2014
New Revision: 356273
URL: http://svnweb.freebsd.org/changeset/ports/356273
QAT: https://qat.redports.org/buildarchive/r356273/

Log:
  - Support staging
  
  Approved by:	portmgr blanket

Modified:
  head/print/mftrace/Makefile

Modified: head/print/mftrace/Makefile
==============================================================================
--- head/print/mftrace/Makefile	Tue Jun  3 01:07:28 2014	(r356272)
+++ head/print/mftrace/Makefile	Tue Jun  3 01:15:13 2014	(r356273)
@@ -29,24 +29,24 @@ GNU_CONFIGURE=	yes
 USES=		gmake
 MAKEFILE=	GNUmakefile
 
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1=	mftrace.1
-.endif
 
 PLIST_FILES=	\
 		bin/gf2pbm \
 		bin/mftrace \
 		%%PYTHON_SITELIBDIR%%/afm.py \
 		%%PYTHON_SITELIBDIR%%/tfm.py
+.if !defined(NO_INSTALL_MANPAGES)
+PLIST_FILES+=	man/man1/mftrace.1.gz
+.endif
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/gf2pbm ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/mftrace ${STAGEDIR}${PREFIX}/bin
 .if !defined(NO_INSTALL_MANPAGES)
-	${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/mftrace.1 ${STAGEDIR}${MANPREFIX}/man/man1
 .endif
-	${INSTALL_SCRIPT} ${WRKSRC}/tfm.py ${PYTHON_SITELIBDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/afm.py ${PYTHON_SITELIBDIR}
+	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/tfm.py ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/afm.py ${STAGEDIR}${PYTHON_SITELIBDIR}
 
 .include <bsd.port.mk>



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