Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 13:26:04 +0000 (UTC)
From:      Beat Gaetzi <beat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334189 - head/sysutils/multitail
Message-ID:  <201311181326.rAIDQ4OJ004167@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: beat
Date: Mon Nov 18 13:26:04 2013
New Revision: 334189
URL: http://svnweb.freebsd.org/changeset/ports/334189

Log:
  - Remove hardcoded CC [1]
  - Convert to USES
  - Convert to staging
  
  PR:		ports/183603 [1]
  Submitted by:	adamw@ [1]

Modified:
  head/sysutils/multitail/Makefile

Modified: head/sysutils/multitail/Makefile
==============================================================================
--- head/sysutils/multitail/Makefile	Mon Nov 18 13:18:57 2013	(r334188)
+++ head/sysutils/multitail/Makefile	Mon Nov 18 13:26:04 2013	(r334189)
@@ -14,27 +14,27 @@ COMMENT=	Tail multiple files on console 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/license.txt
 
-USE_GMAKE=	yes
+USES=		gmake
 
-MAN1=		multitail.1
-PLIST_FILES=	bin/multitail etc/multitail.conf.sample
+PLIST_FILES=	bin/multitail etc/multitail.conf.sample \
+		man/man1/multitail.1.gz
 PORTDOCS=	readme.txt license.txt
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,/etc/multitail.conf,${PREFIX}/etc/multitail.conf,' \
+		-e 's/CC=gcc/CC?=gcc/' \
 		${WRKSRC}/mt.c ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/multitail ${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/multitail.1 ${MANPREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/multitail.conf ${PREFIX}/etc/multitail.conf.sample
+	${INSTALL_PROGRAM} ${WRKSRC}/multitail ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/multitail.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/multitail.conf ${STAGEDIR}${PREFIX}/etc/multitail.conf.sample
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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