svn commit: r356273 - head/print/mftrace
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jun 3 01:15:14 UTC 2014
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>
More information about the svn-ports-all
mailing list