|
Lines 2-12
Link Here
|
| 2 |
# Date created: 02 December 1998 |
2 |
# Date created: 02 December 1998 |
| 3 |
# Whom: Glenn Johnson <gljohns@bellsouth.net> |
3 |
# Whom: Glenn Johnson <gljohns@bellsouth.net> |
| 4 |
# |
4 |
# |
| 5 |
# $FreeBSD: ports/mail/balsa/Makefile,v 1.47 2001/07/20 12:09:05 sobomax Exp $ |
5 |
# $FreeBSD: ports/mail/balsa/Makefile,v 1.46 2001/06/19 09:42:54 ade Exp $ |
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= balsa |
8 |
PORTNAME= balsa |
| 9 |
PORTVERSION= 1.1.7 |
9 |
PORTVERSION= 1.1.7 |
|
|
10 |
PORTREVISION= 1 |
| 10 |
CATEGORIES= mail gnome |
11 |
CATEGORIES= mail gnome |
| 11 |
MASTER_SITES= http://www.theochem.kth.se/~pawsa/balsa/ \ |
12 |
MASTER_SITES= http://www.theochem.kth.se/~pawsa/balsa/ \ |
| 12 |
ftp://ftp.newton.cx/pub/balsa/ |
13 |
ftp://ftp.newton.cx/pub/balsa/ |
|
Lines 16-40
Link Here
|
| 16 |
LIB_DEPENDS= esmtp.5:${PORTSDIR}/mail/libesmtp |
17 |
LIB_DEPENDS= esmtp.5:${PORTSDIR}/mail/libesmtp |
| 17 |
|
18 |
|
| 18 |
USE_X_PREFIX= yes |
19 |
USE_X_PREFIX= yes |
|
|
20 |
USE_GMAKE= yes |
| 19 |
USE_GNOME= yes |
21 |
USE_GNOME= yes |
| 20 |
USE_LIBTOOL= yes |
22 |
USE_LIBTOOL= yes |
| 21 |
LIBTOOLFILES= libmutt/configure |
23 |
USE_AUTOMAKE= yes |
|
|
24 |
RESTRICTED= "Now uses US-only libcipher" |
| 25 |
RESTRICTED_FILES= ${PATCHDIR}/patch-src::Makefile.am |
| 26 |
LIBTOOLFILES= configure libmutt/configure |
| 22 |
CONFIGURE_ARGS= --enable-threads \ |
27 |
CONFIGURE_ARGS= --enable-threads \ |
| 23 |
--enable-gtkhtml \ |
28 |
--enable-gtkhtml \ |
| 24 |
--disable-more-warnings |
29 |
--disable-more-warnings |
| 25 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
30 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
| 26 |
LIBS="-L${LOCALBASE}/lib -lgiconv" |
31 |
LIBS="-L${LOCALBASE}/lib" |
| 27 |
|
|
|
| 28 |
MAN1= balsa.1 |
32 |
MAN1= balsa.1 |
| 29 |
|
33 |
|
|
|
34 |
.include <bsd.port.pre.mk> |
| 35 |
|
| 36 |
.if defined(WITH_BALSA_LDAP) |
| 37 |
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap |
| 38 |
CONFIGURE_ARGS+=--enable-ldap |
| 39 |
.endif |
| 40 |
|
| 41 |
.if defined(WITH_BALSA_SSL) |
| 42 |
USE_OPENSSL= yes |
| 43 |
CONFIGURE_ARGS+=--with-ssl |
| 44 |
.endif |
| 45 |
|
| 30 |
pre-patch: |
46 |
pre-patch: |
| 31 |
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ |
47 |
.if !defined(USA_RESIDENT) |
| 32 |
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ |
48 |
@${ECHO} "Removing libcipher linkage: non-USA_RESIDENT" |
| 33 |
s|-liconv|-lgiconv|g ; s|iconv_open|libiconv_open|g' \ |
49 |
${RM} -f ${RESTRICTED_FILES} |
| 34 |
${WRKSRC}/configure |
50 |
.endif |
| 35 |
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ |
51 |
|
| 36 |
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ |
52 |
pre-extract: |
| 37 |
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \ |
53 |
@${ECHO} |
| 38 |
s|\$\(gnomedatadir\)/gnome|\$\(gnomedatadir\)|g' |
54 |
@${ECHO} " Available build options:" |
|
|
55 |
@${ECHO} "=====================================================" |
| 56 |
@${ECHO} |
| 57 |
@${ECHO} "WITH_BALSA_LDAP -- Build with LDAP addressing support" |
| 58 |
@${ECHO} "WITH_BALSA_SSL -- Build with OPENSSL login support" |
| 59 |
@${ECHO} "USA_RESIDENT -- links U.S.-only libcipher" |
| 60 |
@${ECHO} |
| 39 |
|
61 |
|
| 40 |
.include <bsd.port.mk> |
62 |
.include <bsd.port.post.mk> |