Lines 11-21
Link Here
|
11 |
MAINTAINER= frank@altpeter.de |
11 |
MAINTAINER= frank@altpeter.de |
12 |
COMMENT= Text mode menu- and window-driven IM interface |
12 |
COMMENT= Text mode menu- and window-driven IM interface |
13 |
|
13 |
|
14 |
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl |
14 |
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl |
15 |
|
15 |
|
16 |
USES= iconv |
16 |
USES= iconv gmake pkgconfig |
17 |
USE_OPENSSL= yes |
17 |
USE_OPENSSL= yes |
18 |
USE_GMAKE= yes |
|
|
19 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
20 |
CPPFLAGS+= -I${LOCALBASE}/include |
19 |
CPPFLAGS+= -I${LOCALBASE}/include |
21 |
CXXFLAGS+= -I${LOCALBASE}/include |
20 |
CXXFLAGS+= -I${LOCALBASE}/include |
Lines 24-29
Link Here
|
24 |
CONFLICTS= centericq-[0-9]* centerim-devel-[0-9]* |
23 |
CONFLICTS= centericq-[0-9]* centerim-devel-[0-9]* |
25 |
|
24 |
|
26 |
OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG |
25 |
OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG |
|
|
26 |
|
27 |
FRIBIDI_DESC= Fribidi Support |
27 |
FRIBIDI_DESC= Fribidi Support |
28 |
MSN_DESC= MSN Protocol |
28 |
MSN_DESC= MSN Protocol |
29 |
YAHOO_DESC= Yahoo! Messenger Protocol |
29 |
YAHOO_DESC= Yahoo! Messenger Protocol |
Lines 34-115
Link Here
|
34 |
LJ_DESC= LiveJournal Support |
34 |
LJ_DESC= LiveJournal Support |
35 |
GG_DESC= Gadu-Gadu Protocol Support |
35 |
GG_DESC= Gadu-Gadu Protocol Support |
36 |
|
36 |
|
37 |
MAN1= cimconv.1 centerim.1 |
37 |
OPTIONS_DEFAULT= MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG |
38 |
|
38 |
|
|
|
39 |
OPTIONS_SUB= yes |
40 |
|
39 |
PORTDOCS= FAQ README |
41 |
PORTDOCS= FAQ README |
40 |
|
42 |
|
41 |
NO_STAGE= yes |
43 |
NLS_USES= gettext |
42 |
.include <bsd.port.options.mk> |
44 |
NLS_CONFIGURE_ENABLE= nls |
|
|
45 |
MULTIBYTE_CONFIGURE_ENABLE=locales-fix |
46 |
FRIBIDI_LIB_DEPENDS= libfribidi.so:${PORTSDIR}/converters/fribidi |
47 |
FRIBIDI_CONFIGURE_WITH= fribidi |
48 |
MSN_CONFIGURE_ENABLE= msn |
49 |
YAHOO_CONFIGURE_ENABLE= yahoo |
50 |
AIM_CONFIGURE_ENABLE= aim |
51 |
IRC_CONFIGURE_ENABLE= irc |
52 |
JABBER_CONFIGURE_ENABLE=jabber |
53 |
RSS_CONFIGURE_ENABLE= rss |
54 |
MLJ_CONFIGURE_ENABLE= lj |
55 |
GG_LIB_DEPENDS= libgadu.so:${PORTSDIR}/polish/ekg |
56 |
GG_CONFIGURE_ENABLE= gg |
57 |
GPGME_LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme |
58 |
GPGME_CONFIGURE_WITH= ssl gpgme |
43 |
|
59 |
|
44 |
.if ${PORT_OPTIONS:MNLS} |
|
|
45 |
USES+= gettext |
46 |
PLIST_SUB+= NLS="" |
47 |
.else |
48 |
CONFIGURE_ARGS+=--disable-nls |
49 |
PLIST_SUB+= NLS="@comment " |
50 |
.endif |
51 |
|
52 |
.if ${PORT_OPTIONS:MMULTIBYTE} |
53 |
CONFIGURE_ARGS+= --enable-locales-fix |
54 |
.endif |
55 |
|
56 |
.if ${PORT_OPTIONS:MFRIBIDI} |
57 |
LIB_DEPENDS+= fribidi.3:${PORTSDIR}/converters/fribidi |
58 |
CONFIGURE_ARGS+= --with-fribidi |
59 |
.endif |
60 |
|
61 |
.if ! ${PORT_OPTIONS:MMSN} |
62 |
CONFIGURE_ARGS+= --disable-msn |
63 |
.endif |
64 |
|
65 |
.if ! ${PORT_OPTIONS:MYAHOO} |
66 |
CONFIGURE_ARGS+= --disable-yahoo |
67 |
.endif |
68 |
|
69 |
.if ! ${PORT_OPTIONS:MAIM} |
70 |
CONFIGURE_ARGS+= --disable-aim |
71 |
.endif |
72 |
|
73 |
.if ! ${PORT_OPTIONS:MIRC} |
74 |
CONFIGURE_ARGS+= --disable-irc |
75 |
.endif |
76 |
|
77 |
.if ! ${PORT_OPTIONS:MJABBER} |
78 |
CONFIGURE_ARGS+= --disable-jabber |
79 |
.else |
80 |
.endif |
81 |
|
82 |
.if ${PORT_OPTIONS:MGPGME} |
83 |
LIB_DEPENDS+= gpgme.19:${PORTSDIR}/security/gpgme |
84 |
#CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE} |
85 |
CONFIGURE_ARGS+= --with-ssl |
86 |
.else |
87 |
CONFIGURE_ARGS+= --without-gpgme |
88 |
.endif |
89 |
|
90 |
.if ! ${PORT_OPTIONS:MRSS} |
91 |
CONFIGURE_ARGS+= --disable-rss |
92 |
.endif |
93 |
|
94 |
.if ! ${PORT_OPTIONS:MLJ} |
95 |
CONFIGURE_ARGS+= --disable-lj |
96 |
.endif |
97 |
|
98 |
.if ! ${PORT_OPTIONS:MGG} |
99 |
CONFIGURE_ARGS+= --disable-gg |
100 |
.else |
101 |
LIB_DEPENDS+= gadu.3:${PORTSDIR}/polish/ekg |
102 |
LIBGADU= -lgadu |
103 |
.endif |
104 |
|
105 |
post-patch: |
60 |
post-patch: |
106 |
@${REINPLACE_CMD} -e '1 s|/usr/bin/python|/usr/bin/env python|' \ |
61 |
@${REINPLACE_CMD} -e '1 s|/usr/bin/python|/usr/bin/env python|' \ |
107 |
${WRKSRC}/misc/CenterIMLog2HTML.py |
62 |
${WRKSRC}/misc/CenterIMLog2HTML.py |
108 |
|
63 |
|
109 |
.if ${PORT_OPTIONS:MDOCS} |
|
|
110 |
post-install: |
64 |
post-install: |
111 |
@${MKDIR} ${DOCSDIR} |
65 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
112 |
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) |
66 |
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/) |
113 |
.endif |
|
|
114 |
|
67 |
|
115 |
.include <bsd.port.mk> |
68 |
.include <bsd.port.mk> |