View | Details | Raw Unified | Return to bug 69344
Collapse All | Expand All

(-)unreal/Makefile (-3 / +38 lines)
Lines 8-24 Link Here
8
#
8
#
9
9
10
PORTNAME=	Unreal
10
PORTNAME=	Unreal
11
PORTVERSION=	3.2
11
PORTVERSION=	3.2.1
12
CATEGORIES=	irc
12
CATEGORIES=	irc
13
MASTER_SITES=	http://mirror.nimsay-networks.com/unrealircd/ \
13
MASTER_SITES=	http://mirror.nimsay-networks.com/unrealircd/ \
14
		http://unrealircd.za.net/ \
14
		http://unrealircd.za.net/ \
15
		ftp://unrealircd.za.net/pub/UnrealIRCd/
15
		ftp://unrealircd.za.net/pub/UnrealIRCd/
16
DISTNAME=	${PORTNAME}${PORTVERSION}
16
DISTNAME=	${PORTNAME}${PORTVERSION}
17
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
17
18
18
MAINTAINER=	tux@pinguru.net
19
MAINTAINER=	tux@pinguru.net
19
COMMENT=	Unreal - the next generation ircd
20
COMMENT=	Unreal - the next generation ircd
20
21
21
WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
22
SQLMOD=		Unreal/SQLMod.tar.gz
23
24
WRKSRC=		${WRKDIR}/${PORTNAME}3.2
22
25
23
HAS_CONFIGURE=	yes
26
HAS_CONFIGURE=	yes
24
27
Lines 35-40 Link Here
35
		--with-fd-setsize=1024 \
38
		--with-fd-setsize=1024 \
36
		--enable-dynamic-linking
39
		--enable-dynamic-linking
37
40
41
.include <bsd.port.pre.mk>
42
43
.if exists(${DISTDIR}/${SQLMOD})
44
USE_MYSQL=	yes
45
WITH_SQLMOD=	yes
46
MAKE_ARGS=	all custommodule MODULEFILE=m_sqlmod
47
PLIST_FILES+=	Unreal/modules/m_sqlmod.so Unreal/m_sqlmod.conf \
48
		Unreal/doc/Changes.sqlmod Unreal/doc/README.sqlmod \
49
		Unreal/doc/LICENSE.sqlmod
50
.endif
51
38
.if defined(WITH_IPV6)
52
.if defined(WITH_IPV6)
39
CONFIGURE_ARGS+=	--enable-inet6
53
CONFIGURE_ARGS+=	--enable-inet6
40
.endif
54
.endif
Lines 44-47 Link Here
44
USE_OPENSSL=	yes
58
USE_OPENSSL=	yes
45
.endif
59
.endif
46
60
47
.include <bsd.port.mk>
61
post-extract:
62
.if defined(WITH_SQLMOD)
63
	@${TAR} xfz ${DISTDIR}/${SQLMOD} -C ${WRKSRC}
64
	@${MV} ${WRKSRC}/SQLMod* ${WRKSRC}/SQLMod
65
	@${CP} -r ${WRKSRC}/SQLMod/m_sqlmod.c ${WRKSRC}/src/modules
66
.endif
67
68
post-patch:
69
.if defined(WITH_SQLMOD)
70
	@${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch
71
.endif
72
73
post-install:
74
.if defined(WITH_SQLMOD)
75
	@${CP} ${WRKSRC}/SQLMod/sample.conf ${PREFIX}/Unreal/m_sqlmod.conf
76
	@${CP} ${WRKSRC}/SQLMod/Changes ${PREFIX}/Unreal/doc/Changes.sqlmod
77
	@${CP} ${WRKSRC}/SQLMod/README ${PREFIX}/Unreal/doc/README.sqlmod
78
	@${CP} ${WRKSRC}/SQLMod/LICENSE ${PREFIX}/Unreal/doc/LICENSE.sqlmod
79
	@${INSTALL} ${WRKSRC}/src/modules/m_sqlmod.so ${PREFIX}/Unreal/modules/m_sqlmod.so
80
.endif
81
82
.include <bsd.port.post.mk>
(-)unreal/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (Unreal3.2.tar.gz) = cc24872a1382bc11e2fac96ac6b016f2
1
MD5 (Unreal3.2.1.tar.gz) = ebe56fd42fc229681f527932eaa173cc
2
SIZE (Unreal3.2.tar.gz) = 1477195
2
SIZE (Unreal3.2.1.tar.gz) = 1614434
(-)unreal/pkg-plist (+3 lines)
Lines 57-62 Link Here
57
Unreal/LICENSE
57
Unreal/LICENSE
58
Unreal/Donation
58
Unreal/Donation
59
Unreal/unreal
59
Unreal/unreal
60
Unreal/modules/cloak.so
60
Unreal/modules/commands.so
61
Unreal/modules/commands.so
61
Unreal/modules/m_addline.so
62
Unreal/modules/m_addline.so
62
Unreal/modules/m_addomotd.so   
63
Unreal/modules/m_addomotd.so   
Lines 71-76 Link Here
71
Unreal/modules/m_close.so
72
Unreal/modules/m_close.so
72
Unreal/modules/m_connect.so
73
Unreal/modules/m_connect.so
73
Unreal/modules/m_cycle.so
74
Unreal/modules/m_cycle.so
75
Unreal/modules/m_dccallow.so
74
Unreal/modules/m_dccdeny.so
76
Unreal/modules/m_dccdeny.so
75
Unreal/modules/m_eos.so
77
Unreal/modules/m_eos.so
76
Unreal/modules/m_globops.so
78
Unreal/modules/m_globops.so
Lines 144-149 Link Here
144
Unreal/modules/m_who.so
146
Unreal/modules/m_who.so
145
Unreal/modules/m_whois.so
147
Unreal/modules/m_whois.so
146
Unreal/modules/m_whowas.so
148
Unreal/modules/m_whowas.so
149
Unreal/modules/oldcloak.so
147
@dirrm Unreal/networks
150
@dirrm Unreal/networks
148
@dirrm Unreal/modules
151
@dirrm Unreal/modules
149
@dirrm Unreal/doc
152
@dirrm Unreal/doc

Return to bug 69344