From fd37d8821fdc48edb0c489017447cb8ee865c5b9 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Mon, 25 Mar 2013 04:30:31 +0000 Subject: Cleanup unmaintained ports in the misc category: - Trim Header - Convert to OptionsNG - Prefer DISTNAME to DISTFILES - Reorder variables - Fix comments (don't include leading article) - @unexec rm must not cause failure - Tabs, not spaces - Single space for WWW - Pet portlint - etc. In a few cases the option DOCS was used to control installation into EXAMPLEDIR. I opted to keep the existing logic of the port in these cases. Reviewed by: koobs, ashish --- misc/mtail/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'misc/mtail') diff --git a/misc/mtail/Makefile b/misc/mtail/Makefile index 030cdd5e71c6..ad8a246072db 100644 --- a/misc/mtail/Makefile +++ b/misc/mtail/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: mtail -# Date created: 9 August 2007 -# Whom: Andrew Pantyukhin -# +# Created by: Andrew Pantyukhin # $FreeBSD$ -# PORTNAME= mtail PORTVERSION= 1.1.1 @@ -20,16 +16,18 @@ PLIST_FILES= bin/${PORTNAME} PORTDOCS= CHANGES LICENSE README PORTEXAMPLES= mtailrc +.include + post-patch: @${REINPLACE_CMD} -e '1s|/.*|${PYTHON_CMD}|' ${WRKSRC}/${PORTNAME} do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ -.ifndef NOPORTDOCS +.if ${PORT_OPTIONS:MDOCS} @${INSTALL} -d ${DOCSDIR}/ @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ .endif -.ifndef NOPORTEXAMPLES +.if ${PORT_OPTIONS:MEXAMPLES} @${INSTALL} -d ${EXAMPLESDIR}/ @${INSTALL_DATA} ${WRKSRC}/mtailrc.sample ${EXAMPLESDIR}/mtailrc .endif -- cgit v1.2.3