Lines 7-26
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= sylpheed |
8 |
PORTNAME= sylpheed |
9 |
PORTVERSION= 1.9.6 |
9 |
PORTVERSION= 1.9.6 |
10 |
PORTREVISION= 0 |
10 |
PORTREVISION= 1 |
11 |
CATEGORIES= mail ipv6 |
11 |
CATEGORIES= mail ipv6 |
12 |
MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:mime/} \ |
12 |
MASTER_SITES= http://sylpheed.good-day.net/sylpheed/v1.9/ \ |
13 |
http://sylpheed.good-day.net/sylpheed/v1.9/:source \ |
13 |
${MASTER_SITE_SOURCEFORGE} |
14 |
${MASTER_SITE_SOURCEFORGE:S/$/:source/} |
14 |
MASTER_SITE_SUBDIR= sylpheed-claws/ |
15 |
MASTER_SITE_SUBDIR= sylpheed-claws/:source oliver/:mime |
|
|
16 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r.1/rc/} |
15 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r.1/rc/} |
17 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source mime.types:mime |
|
|
18 |
DIST_SUBDIR= ${PORTNAME} |
19 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
20 |
|
16 |
|
21 |
MAINTAINER= oliver@FreeBSD.org |
17 |
MAINTAINER= oliver@FreeBSD.org |
22 |
COMMENT= A lightweight, featureful, and fast GTK+ based e-mail client |
18 |
COMMENT= A lightweight, featureful, and fast GTK+ based e-mail client |
23 |
|
19 |
|
|
|
20 |
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support |
21 |
|
24 |
USE_BZIP2= yes |
22 |
USE_BZIP2= yes |
25 |
USE_GETTEXT= yes |
23 |
USE_GETTEXT= yes |
26 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
Lines 33-41
Link Here
|
33 |
|
31 |
|
34 |
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include -I${X11BASE}/include" \ |
32 |
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include -I${X11BASE}/include" \ |
35 |
LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib -L${X11BASE}/lib" |
33 |
LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib -L${X11BASE}/lib" |
36 |
CONFIGURE_ARGS= --enable-ipv6 \ |
34 |
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} \ |
37 |
--prefix=${PREFIX} \ |
|
|
38 |
--with-libintl-prefix=${LOCALBASE} \ |
39 |
--program-transform-name='' |
35 |
--program-transform-name='' |
40 |
|
36 |
|
41 |
CONFLICTS= sylpheed-1.[0-8]* sylpheed-gtk2-[0-9]* |
37 |
CONFLICTS= sylpheed-1.[0-8]* sylpheed-gtk2-[0-9]* |
Lines 53-69
Link Here
|
53 |
.include "${PORTSDIR}/Mk/bsd.openssl.mk" |
49 |
.include "${PORTSDIR}/Mk/bsd.openssl.mk" |
54 |
CONFIGURE_ARGS+=--enable-ssl |
50 |
CONFIGURE_ARGS+=--enable-ssl |
55 |
.endif |
51 |
.endif |
56 |
|
|
|
57 |
.if defined(WITH_GPGME) |
52 |
.if defined(WITH_GPGME) |
58 |
LIB_DEPENDS+= gpgme.14:${PORTSDIR}/security/gpgme |
53 |
LIB_DEPENDS+= gpgme.14:${PORTSDIR}/security/gpgme |
59 |
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg |
54 |
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg |
60 |
CONFIGURE_ARGS+=--enable-gpgme |
55 |
CONFIGURE_ARGS+=--enable-gpgme |
61 |
.else |
|
|
62 |
CONFIGURE_ARGS+=--disable-gpgme |
63 |
.endif |
56 |
.endif |
64 |
.if defined(WITH_COMPFACE) |
57 |
.if defined(WITH_COMPFACE) |
65 |
LIB_DEPENDS+= compface.1:${PORTSDIR}/mail/faces |
58 |
LIB_DEPENDS+= compface.1:${PORTSDIR}/mail/faces |
66 |
CONFIGURE_ARGS+=--enable-compface |
|
|
67 |
.else |
59 |
.else |
68 |
CONFIGURE_ARGS+=--disable-compface |
60 |
CONFIGURE_ARGS+=--disable-compface |
69 |
.endif |
61 |
.endif |
Lines 71-89
Link Here
|
71 |
LIB_DEPENDS+= pisock.8:${PORTSDIR}/palm/pilot-link |
63 |
LIB_DEPENDS+= pisock.8:${PORTSDIR}/palm/pilot-link |
72 |
RUN_DEPENDS+= jpilot:${PORTSDIR}/palm/jpilot |
64 |
RUN_DEPENDS+= jpilot:${PORTSDIR}/palm/jpilot |
73 |
CONFIGURE_ARGS+=--enable-jpilot |
65 |
CONFIGURE_ARGS+=--enable-jpilot |
74 |
.else |
|
|
75 |
CONFIGURE_ARGS+=--disable-jpilot |
76 |
.endif |
66 |
.endif |
77 |
.if defined(WITH_LDAP) |
67 |
.if defined(WITH_LDAP) |
78 |
USE_OPENLDAP= yes |
68 |
USE_OPENLDAP= yes |
79 |
CONFIGURE_ARGS+=--enable-ldap |
69 |
CONFIGURE_ARGS+=--enable-ldap |
80 |
.else |
|
|
81 |
CONFIGURE_ARGS+=--disable-ldap |
82 |
.endif |
83 |
.if !defined(WITHOUT_SSL) |
84 |
CONFIGURE_ARGS+=--enable-ssl |
85 |
.else |
86 |
CONFIGURE_ARGS+=--disable-ssl |
87 |
.endif |
70 |
.endif |
88 |
|
71 |
|
89 |
MAKEFILES= Makefile.in ac/Makefile.in faq/Makefile.in faq/de/Makefile.in \ |
72 |
MAKEFILES= Makefile.in ac/Makefile.in faq/Makefile.in faq/de/Makefile.in \ |
Lines 94-100
Link Here
|
94 |
post-patch: |
77 |
post-patch: |
95 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \ |
78 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \ |
96 |
s|-lresolv||g; s|-lpisock\"|-liconv &|g; ' ${WRKSRC}/configure |
79 |
s|-lresolv||g; s|-lpisock\"|-liconv &|g; ' ${WRKSRC}/configure |
97 |
@${REINPLACE_CMD} -e 's|mime\.types|sylpheed-mime\.types|g' \ |
80 |
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}&|' \ |
98 |
${WRKSRC}/src/procmime.c |
81 |
${WRKSRC}/src/procmime.c |
99 |
|
82 |
|
100 |
.if defined(NOPORTDOCS) |
83 |
.if defined(NOPORTDOCS) |
Lines 118-124
Link Here
|
118 |
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
101 |
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
119 |
@${INSTALL_DATA} ${WRKSRC}/${i}.ja ${DOCSDIR} |
102 |
@${INSTALL_DATA} ${WRKSRC}/${i}.ja ${DOCSDIR} |
120 |
.endfor |
103 |
.endfor |
121 |
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/mime.types ${PREFIX}/etc/sylpheed-mime.types |
|
|
122 |
.endif |
104 |
.endif |
123 |
|
105 |
|
124 |
.include <bsd.port.post.mk> |
106 |
.include <bsd.port.post.mk> |