aboutsummaryrefslogtreecommitdiffstats
path: root/irc/hybserv/Makefile
blob: 42bfbc0a4aab37adc8d501f1c3d668a6895e922c (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
# New ports collection makefile for:    hybserv
# Date created:             15 Jan 2003
# Whom:                 Rick Fournier <rick@help-desk.ca>
#
# $FreeBSD$
#

PORTNAME=   hybserv
PORTVERSION=    1.8.0
PORTREVISION=   1
CATEGORIES= irc
MASTER_SITES=   http://www.srce.hr/~kreator/projects/tarballs/

MAINTAINER= rick@help-desk.ca
COMMENT=    "HybServ2 IRCD Services"

IGNORE=     uses a uid registered to the ircservices user

USE_GMAKE=  yes
GNU_CONFIGURE=  yes

WRKSRC=     ${WRKDIR}/hybserv

pre-install:
    @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

post-install:
    @${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/hybserv.sh \
        > ${WRKDIR}/hybserv.sh
    @${INSTALL_SCRIPT} ${WRKDIR}/hybserv.sh ${PREFIX}/etc/rc.d
    ${CHOWN} -R hybserv:hybserv ${PREFIX}/hybserv
    ${CHMOD} 700 ${PREFIX}/hybserv

.include <bsd.port.mk>