Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2015 11:07:43 +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: r395947 - head/sysutils/goaccess
Message-ID:  <201509031107.t83B7h25098316@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Sep  3 11:07:42 2015
New Revision: 395947
URL: https://svnweb.freebsd.org/changeset/ports/395947

Log:
  - Switch to options helpers
  - Fix binary installation (INSTALL_PROGRAM instead of INSTALL_SCRIPT + STRIP_CMD)
  
  Approved by:	portmgr blanket

Modified:
  head/sysutils/goaccess/Makefile

Modified: head/sysutils/goaccess/Makefile
==============================================================================
--- head/sysutils/goaccess/Makefile	Thu Sep  3 11:05:23 2015	(r395946)
+++ head/sysutils/goaccess/Makefile	Thu Sep  3 11:07:42 2015	(r395947)
@@ -28,17 +28,12 @@ PORTDOCS=	AUTHORS COPYING ChangeLog NEWS
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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