svn commit: r346037 - head/textproc/info2html

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 25 15:51:09 UTC 2014


Author: ehaupt
Date: Tue Feb 25 15:51:09 2014
New Revision: 346037
URL: http://svnweb.freebsd.org/changeset/ports/346037
QAT: https://qat.redports.org/buildarchive/r346037/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/textproc/info2html/Makefile

Modified: head/textproc/info2html/Makefile
==============================================================================
--- head/textproc/info2html/Makefile	Tue Feb 25 15:47:47 2014	(r346036)
+++ head/textproc/info2html/Makefile	Tue Feb 25 15:51:09 2014	(r346037)
@@ -10,13 +10,16 @@ EXTRACT_SUFX=	.tar
 MAINTAINER=	wenheping at gmail.com
 COMMENT=	Translate GNU info files into HTML pages
 
+USES=		shebangfix
 NO_BUILD=	yes
+
 PLIST_FILES=	bin/info2html bin/infocat bin/info2html.css bin/info2html.conf
+SHEBANG_FILES=	info2html infocat
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/info2html ${LOCALBASE}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/infocat ${LOCALBASE}/bin
-	${INSTALL_DATA} ${WRKSRC}/info2html.conf ${LOCALBASE}/bin
-	${INSTALL_DATA} ${WRKSRC}/info2html.css ${LOCALBASE}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/info2html ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/infocat ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/info2html.conf ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/info2html.css ${STAGEDIR}${PREFIX}/bin
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list