blob: b48e4151a44f5087bd9b187d151133d0311e3147 (
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
|
# Created by: ports@c0decafe.net
# $FreeBSD$
PORTNAME= savelogs
PORTVERSION= 1.98
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SCOTTW
MAINTAINER= danilogondolfo@gmail.com
COMMENT= Save log files in a nice way
USES= perl5
USE_PERL5= configure
MAN1= rotation.1 savelogs.1
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-install:
${INSTALL_DATA} ${WRKSRC}/conf/savelogs.conf.sample ${PREFIX}/etc/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/conf/savelogs.conf.lint ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|