Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 10:02:59 +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: r346314 - head/textproc/info2man
Message-ID:  <201402271002.s1RA2xSL074976@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb 27 10:02:58 2014
New Revision: 346314
URL: http://svnweb.freebsd.org/changeset/ports/346314
QAT: https://qat.redports.org/buildarchive/r346314/

Log:
  - Support staging
  - Use shebangfix
  - Use COPYTREE_SHARE istead of CP

Modified:
  head/textproc/info2man/Makefile

Modified: head/textproc/info2man/Makefile
==============================================================================
--- head/textproc/info2man/Makefile	Thu Feb 27 09:58:04 2014	(r346313)
+++ head/textproc/info2man/Makefile	Thu Feb 27 10:02:58 2014	(r346314)
@@ -11,19 +11,19 @@ DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Translate GNU info files into man pages
 
-USES=		perl5
+USES=		perl5 shebangfix
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 
 PLSCRIPTS=	info2man info2pod
+SHEBANG_FILES=	info2pod
 
-NO_STAGE=	yes
 pre-configure:
 	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/info2pod
 
 do-install:
-	${INSTALL_SCRIPT} ${PLSCRIPTS:S|^|${WRKSRC}/|} ${PREFIX}/bin
-	${MKDIR} ${DATADIR}
-	${CP} -R ${WRKSRC}/cs ${DATADIR}
+	${INSTALL_SCRIPT} ${PLSCRIPTS:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} cs ${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>



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