blob: b11a8f45cc87410a4ea825aaf945cd7e7659dd47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: mtail
# Date created: 9 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mtail
PORTVERSION= 1.1.1
CATEGORIES= misc
MASTER_SITES= http://matt.immute.net/src/mtail/ CENKES
EXTRACT_SUFX= .tgz
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Small tail workalike that performs output coloring
NO_BUILD= yes
USE_PYTHON_RUN= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= CHANGES LICENSE README
PORTEXAMPLES= mtailrc
post-patch:
@${REINPLACE_CMD} -e '1s|/.*|${PYTHON_CMD}|' ${WRKSRC}/${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}/
@${INSTALL_DATA} ${WRKSRC}/mtailrc.sample ${EXAMPLESDIR}/mtailrc
.endif
.include <bsd.port.mk>
|