aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2013-11-18 21:26:04 +0800
committerbeat <beat@FreeBSD.org>2013-11-18 21:26:04 +0800
commit7817556865e499f7ea2fcda16abbecafff9eaf32 (patch)
tree779f2ec3d25cbdcd62a46a4cdf2893334a6dbd0a
parentf058dfc60af82fee1e61629b3ae1eccbe8136a53 (diff)
downloadfreebsd-ports-gnome-7817556865e499f7ea2fcda16abbecafff9eaf32.tar.gz
freebsd-ports-gnome-7817556865e499f7ea2fcda16abbecafff9eaf32.tar.zst
freebsd-ports-gnome-7817556865e499f7ea2fcda16abbecafff9eaf32.zip
- Remove hardcoded CC [1]
- Convert to USES - Convert to staging PR: ports/183603 [1] Submitted by: adamw@ [1]
-rw-r--r--sysutils/multitail/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/sysutils/multitail/Makefile b/sysutils/multitail/Makefile
index d01adccff4bd..322288094aaf 100644
--- a/sysutils/multitail/Makefile
+++ b/sysutils/multitail/Makefile
@@ -14,27 +14,27 @@ COMMENT= Tail multiple files on console with ncurses
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>