blob: 5a8509613350be9c4f1867bd43c9ffc06fd13984 (
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
38
39
40
41
42
43
44
45
46
47
|
# Created by: Hajimu UMEMOTO <ume@FreeBSD.org>
# $FreeBSD$
PORTNAME= tiarra
PORTVERSION= 20100212
PORTREVISION= 1
CATEGORIES= japanese irc ipv6
MASTER_SITES= http://www.clovery.jp/tiarra/archive/2010/02/
MAINTAINER= ume@FreeBSD.org
COMMENT= IRC Proxy software
RUN_DEPENDS= p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6
USES= perl5
USE_PERL5= run
USE_BZIP2= yes
USE_RC_SUBR= tiarra
NO_BUILD= yes
USERS= ${TIARRA_USER}
GROUPS= ${TIARRA_GROUP}
SUB_FILES= pkg-message
SUB_LIST= TIARRA_USER=${TIARRA_USER}
PLIST_SUB= TIARRA_USER=${TIARRA_USER} \
TIARRA_GROUP=${TIARRA_GROUP}
TIARRA_USER= tiarra
TIARRA_GROUP= tiarra
NO_STAGE= yes
do-install:
@${MKDIR} ${PREFIX}/tiarra
@${TAR} cfC - ${WRKSRC} . | ${TAR} xfC - ${PREFIX}/tiarra
@if [ ! -f ${PREFIX}/tiarra/tiarra.conf ]; then \
${CP} -p ${PREFIX}/tiarra/sample.conf \
${PREFIX}/tiarra/tiarra.conf; \
fi
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/tiarra
@${MKDIR} ${PREFIX}/tiarra/log
@${CHOWN} -R ${TIARRA_USER}:${TIARRA_GROUP} ${PREFIX}/tiarra/log
@${CHMOD} o-rwx ${PREFIX}/tiarra/log
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|