blob: 5ac8401707c913cc3b975028d67750248648cded (
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
48
49
50
51
52
53
54
|
# New ports collection makefile for: tiarra
# Date Created: Jul 27 2006
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tiarra
PORTVERSION= 20050214
#PORTREVISION= 0
CATEGORIES= japanese irc ipv6
MASTER_SITES= http://www.clovery.jp/tiarra/archive/2005/02/
MAINTAINER= ume@FreeBSD.org
COMMENT= IRC Proxy software
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6
USE_PERL5_RUN= yes
USE_BZIP2= yes
USE_RC_SUBR= tiarra
NO_BUILD= yes
SUB_FILES= pkg-install pkg-deinstall pkg-message
SUB_LIST= TIARRA_USER=${TIARRA_USER} \
TIARRA_GROUP=${TIARRA_GROUP}
PLIST_SUB= TIARRA_USER=${TIARRA_USER} \
TIARRA_GROUP=${TIARRA_GROUP}
TIARRA_USER= tiarra
TIARRA_GROUP= tiarra
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= needs perl 5.6.0 or higher, install lang/perl5.8 and try again
.endif
do-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-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} ${TIARRA_USER}:${TIARRA_GROUP} ${PREFIX}/tiarra/log
@${CHMOD} o-rwx ${PREFIX}/tiarra/log
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|