blob: c398a7075ede8b1588730d13f60de334206b8f77 (
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
55
|
# New ports collection makefile for: Nefarious
# Date created: 12 August 2007
# Whom: Frank J. Laszlo <laszlof@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Nefarious
PORTVERSION= 1.2.0
CATEGORIES= irc
MASTER_SITES= SF/evilnet/${PORTNAME}%20IRCu/${PORTVERSION}
MAINTAINER= sylvio@FreeBSD.org
COMMENT= IRC server used by evilnet based off of Undernet\'s ircu
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_BZIP2= yes
HAS_CONFIGURE= yes
PLIST_SUB+= INSTALL_PREFIX=${INSTALL_PREFIX:S/${PREFIX}\///}
MAN8= ircd.8
.if defined(WITH_OPENSSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+= --enable-ssl
.endif
.include <bsd.port.pre.mk>
.if !defined(INSTALL_PREFIX)
INSTALL_PREFIX=${PREFIX}/${PORTNAME}
.endif
.if defined(WITH_CHROOT)
CONFIGURE_ARGS+= --with-chroot=${INSTALL_PREFIX}
.endif
.if defined(DOMAIN)
CONFIGURE_ARGS+= --with-domain=${DOMAIN}
.endif
CONFIGURE_ARGS+= --prefix=${INSTALL_PREFIX} --mandir=${MANPREFIX}/man --infodir=${PREFIX}/${INFO_PATH}
pre-configure:
@${ECHO_CMD} ""
@${ECHO_CMD} "User configurable options for ${PORTNAME}:"
@${ECHO_CMD} "INSTALL_PREFIX - Where to install all Nefarious files (default: PREFIX/Nefarious)"
@${ECHO_CMD} "WITH_OPENSSL - Compile with SSL support"
@${ECHO_CMD} "WITH_CHROOT - chroot the ircd within INSTALL_PREFIX"
@${ECHO_CMD} "DOMAIN - Domain to use for IRCd"
@${ECHO_CMD} ""
@sleep 5
.include <bsd.port.post.mk>
|