blob: d97da078109bab7c02de78c8b07880e616ad4973 (
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
56
57
58
59
60
61
62
63
64
65
|
# New ports collection makefile for: verlihub-plugins
# Date created: 26 August 2004
# Whom: Hurbold
#
# $FreeBSD$
#
PORTNAME= verlihub-plugins
PORTVERSION= 0.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= verlihub
DISTNAME= vh_plugins-0.1
MAINTAINER= hurbold@yahoo.com
COMMENT= Plugins for the Verlihub Linux/Unix Direct Connect Hub Software
BUILD_DEPENDS= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net/verlihub
LIB_DEPENDS= lua.5:${PORTSDIR}/lang/lua
WRKSRC= ${WRKDIR}/vh_plugins-0.1
USE_GMAKE= yes
USE_INC_LIBTOOL_VER= 15
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/include/verlihub
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/verlihub -I${LOCALBASE}/include/mysql"
DATADIR= ${PREFIX}/share/${PORTNAME}
post-patch:
@${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
post-install:
@${MKDIR} ${DATADIR}
@${MKDIR} ${DATADIR}/extra
${INSTALL_DATA} ${WRKSRC}/basic/chatroom/.libs/libchatroom_pi.so ${DATADIR}/libchatroom_pi.so
${INSTALL_DATA} ${WRKSRC}/basic/floodprot/.libs/libfloodprot.so ${DATADIR}/libfloodprot_pi.so
${INSTALL_DATA} ${WRKSRC}/basic/forbid/.libs/libforbid_pi.so ${DATADIR}/libforbid_pi.so
${INSTALL_DATA} ${WRKSRC}/basic/funny/.libs/libfunny_pi.so ${DATADIR}/libfunny_pi.so
${INSTALL_DATA} ${WRKSRC}/basic/iplog/.libs/libiplog_pi.so ${DATADIR}/libiplog_pi.so
${INSTALL_DATA} ${WRKSRC}/basic/isp/.libs/libisp_pi.so ${DATADIR}/libisp_pi.so
${INSTALL_DATA} ${WRKSRC}/basic/messanger/.libs/libmessanger_pi.so ${DATADIR}/libmessanger_pi.so
${INSTALL_DATA} ${WRKSRC}/basic/replacer/.libs/libreplace_pi.so ${DATADIR}/libreplace_pi.so
${INSTALL_DATA} ${WRKSRC}/basic/stats/.libs/libstats_pi.so ${DATADIR}/libstats_pi.so
${INSTALL_DATA} ${WRKSRC}/extra/lua/src/.libs/liblua_pi.so ${DATADIR}/extra/liblua_pi.so
${INSTALL_DATA} ${WRKSRC}/extra/perl/src/.libs/libperl_pi.so ${DATADIR}/extra/libperl_pi.so
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502010
USE_GCC= 3.3
.endif
.if ${OSVERSION} > 502126
BROKEN= Does not compile with gcc 3.4
.endif
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8 or later. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>
|