blob: ce9846c6bfe2a7d10032c7b0fe9523fd63d6d8a4 (
plain)
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
|
# Created by: Timothy Redaelli <drizzt@gufi.org>
# $FreeBSD$
PORTNAME= dcc_send_limiter
PORTVERSION= 0.8.10
PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://svn.irssi.org/repos/modules/trunk/ \
http://utenti.gufi.org/~drizzt/codes/irssi-dcc_send_limiter/
PKGNAMEPREFIX= irssi-
DISTNAME= dcc-send-limiter
EXTRACT_SUFX= .c
PATCH_SITES= http://utenti.gufi.org/~drizzt/codes/irssi-dcc_send_limiter/
PATCHFILES= ${DISTFILES}.diff
MAINTAINER= ports@FreeBSD.org
COMMENT= Irssi plugin to limit the transmit speed of DCC sends
BUILD_DEPENDS= irssi:irc/irssi
RUN_DEPENDS= irssi:irc/irssi
USES= pkgconfig
USE_GNOME= glib20
NO_WRKSUBDIR= yes
PLIST_FILES= lib/irssi/modules/lib/${DISTNAME}.so
CFLAGS+= -shared -fPIC -I${LOCALBASE}/include/irssi -I${LOCALBASE}/include/irssi/src -I${LOCALBASE}/include/irssi/src/core -I${LOCALBASE}/include/irssi/src/irc/core -I${LOCALBASE}/include/irssi/src/irc/dcc `pkg-config --cflags glib-2.0`
do-extract:
@${RM} -r ${WRKSRC}
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${DISTNAME}.so ${WRKSRC}/${DISTFILES}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules/lib
${INSTALL_LIB} ${WRKSRC}/${DISTNAME}.so \
${STAGEDIR}${PREFIX}/lib/irssi/modules/lib
.include <bsd.port.mk>
|