Lines 7-17
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= kadu |
8 |
PORTNAME= kadu |
9 |
PORTVERSION= 0.4.3 |
9 |
PORTVERSION= 0.4.3 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
PORTEPOCH= 1 |
11 |
PORTEPOCH= 1 |
12 |
CATEGORIES= polish net-im |
12 |
CATEGORIES= polish net-im |
13 |
MASTER_SITES= http://www.kadu.net/download/stable/ |
13 |
MASTER_SITES= http://www.kadu.net/download/stable/:kadu \ |
14 |
DISTNAME= ${PORTNAME}-${PORTVERSION} |
14 |
http://michal.gov.one.pl/tabs/:tabs \ |
|
|
15 |
http://scripts.one.pl/spellchecker/stable/${PORTVERSION}/:aspell |
16 |
|
17 |
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.bz2:kadu |
18 |
TABS_MOD_DISTFILE= tabs-kadu-0.4.0.tar.gz |
19 |
ASPELL_MOD_DISTFILE= spellchecker-0.15.tar.gz |
15 |
|
20 |
|
16 |
MAINTAINER= mwisnicki+freebsd@gmail.com |
21 |
MAINTAINER= mwisnicki+freebsd@gmail.com |
17 |
COMMENT= QT Gadu-Gadu client |
22 |
COMMENT= QT Gadu-Gadu client |
Lines 31-44
Link Here
|
31 |
|
36 |
|
32 |
USE_QT_VER= 3 |
37 |
USE_QT_VER= 3 |
33 |
QT_NONSTANDARD= yes |
38 |
QT_NONSTANDARD= yes |
|
|
39 |
WANT_GNOME= yes |
40 |
INSTALLS_ICONS= yes |
41 |
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} |
34 |
|
42 |
|
35 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
43 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
36 |
|
44 |
|
|
|
45 |
OPTIONS= ASPELL "Build spell checking module" off \ |
46 |
ARTS "Build aRts sound module" off \ |
47 |
ESOUND "Build Esound module" off \ |
48 |
TABS "Build tabs module" off |
49 |
|
37 |
.include <bsd.port.pre.mk> |
50 |
.include <bsd.port.pre.mk> |
38 |
|
51 |
|
39 |
.if ${OSVERSION} < 500000 |
52 |
.if defined(WITH_ASPELL) |
|
|
53 |
LIB_DEPENDS+= pspell.16:${PORTSDIR}/textproc/aspell |
54 |
PLIST_SUB+= ASPELL_MOD="" |
55 |
DISTFILES+= ${ASPELL_MOD_DISTFILE}:aspell |
56 |
.else |
57 |
PLIST_SUB+= ASPELL_MOD="@comment " |
58 |
.endif |
59 |
|
60 |
.if defined(WITH_ARTS) |
61 |
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts |
62 |
PLIST_SUB+= ARTS_MOD="" |
63 |
.else |
64 |
PLIST_SUB+= ARTS_MOD="@comment " |
65 |
.endif |
66 |
|
67 |
.if defined(WITH_ESOUND) |
68 |
USE_GNOME+= esound |
69 |
PLIST_SUB+= ESOUND_MOD="" |
70 |
.else |
71 |
PLIST_SUB+= ESOUND_MOD="@comment " |
72 |
.endif |
73 |
|
74 |
.if defined(WITH_TABS) |
75 |
PLIST_SUB+= TABS_MOD="" |
76 |
DISTFILES+= ${TABS_MOD_DISTFILE}:tabs |
77 |
.else |
78 |
PLIST_SUB+= TABS_MOD="@comment " |
79 |
.endif |
80 |
|
40 |
post-patch: |
81 |
post-patch: |
|
|
82 |
.if ${OSVERSION} < 500000 |
41 |
@${ECHO} "MODULE_LDFLAGS=\"-lcrypto\"" >> ${WRKSRC}/modules/encryption/spec |
83 |
@${ECHO} "MODULE_LDFLAGS=\"-lcrypto\"" >> ${WRKSRC}/modules/encryption/spec |
|
|
84 |
.endif |
85 |
|
86 |
.if defined(WITH_ASPELL) |
87 |
@${REINPLACE_CMD} -e 's|module_spellchecker=n|module_spellchecker=y|g' ${WRKSRC}/.config |
88 |
@cd ${WRKSRC}/modules && ${TAR} -zxf ${DISTDIR}/${ASPELL_MOD_DISTFILE} |
89 |
.endif |
90 |
|
91 |
.if defined(WITH_ARTS) |
92 |
@${REINPLACE_CMD} -e 's|module_arts_sound=n|module_arts_sound=y|g' ${WRKSRC}/.config |
93 |
.endif |
94 |
|
95 |
.if defined(WITH_ESOUND) |
96 |
@${REINPLACE_CMD} -e 's|module_esd_sound=n|module_esd_sound=y|g' ${WRKSRC}/.config |
97 |
.endif |
98 |
|
99 |
.if defined(WITH_TABS) |
100 |
@${REINPLACE_CMD} -e 's|module_tabs=n|module_tabs=y|g' ${WRKSRC}/.config |
101 |
@cd ${WRKSRC}/modules && ${TAR} -zxf ${DISTDIR}/${TABS_MOD_DISTFILE} |
42 |
.endif |
102 |
.endif |
43 |
|
103 |
|
44 |
post-install: |
104 |
post-install: |