Lines 7-27
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= elmo |
8 |
PORTNAME= elmo |
9 |
PORTVERSION= 1.3.0 |
9 |
PORTVERSION= 1.3.0 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= mail |
11 |
CATEGORIES= mail |
12 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20devel/${PORTVERSION} |
12 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} |
13 |
|
13 |
|
14 |
MAINTAINER= dhn@FreeBSD.org |
14 |
MAINTAINER= dhn@FreeBSD.org |
15 |
COMMENT= Receive, filter, read, compose and send mail at the text console |
15 |
COMMENT= Receive, filter, read, compose and send mail at the text console |
16 |
|
16 |
|
17 |
CONFLICTS= elmo-devel-* |
17 |
CONFLICTS= elmo-devel-[0-9]* |
18 |
|
18 |
|
19 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
20 |
USE_ICONV= yes |
20 |
USE_ICONV= yes |
21 |
USE_OPENSSL= yes |
21 |
USE_OPENSSL= yes |
22 |
USE_PERL5_RUN= yes |
22 |
USE_PERL5_RUN= yes |
23 |
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ |
23 |
|
24 |
LDFLAGS="-L${LOCALBASE}/lib" |
24 |
LICENSE= GPLv2 |
|
|
25 |
LICENSE_FILE= ${WRKSRC}/COPYING |
26 |
|
27 |
CPPFLAGS= -I${LOCALBASE}/include |
28 |
LDFLAGS= -L${LOCALBASE}/lib |
29 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ |
30 |
LDFLAGS="${LDFLAGS}" |
31 |
MAKE_JOBS_SAFE= yes |
25 |
|
32 |
|
26 |
MAN1= elmo.1 elmoconf.pl.1 |
33 |
MAN1= elmo.1 elmoconf.pl.1 |
27 |
|
34 |
|
Lines 36-43
Link Here
|
36 |
|
43 |
|
37 |
.include <bsd.port.pre.mk> |
44 |
.include <bsd.port.pre.mk> |
38 |
|
45 |
|
39 |
.if exists(${LOCALBASE}/lib/libgpgme03.so) || defined(WITH_GPGME) |
46 |
.if exists(${LOCALBASE}/lib/libgpgme.so) || defined(WITH_GPGME) |
40 |
LIB_DEPENDS+= gpgme03:${PORTSDIR}/security/gpgme03 |
47 |
LIB_DEPENDS+= gpgme.18:${PORTSDIR}/security/gpgme |
41 |
.else |
48 |
.else |
42 |
pre-everything:: |
49 |
pre-everything:: |
43 |
@${ECHO_CMD} |
50 |
@${ECHO_CMD} |
Lines 48-53
Link Here
|
48 |
post-patch: |
55 |
post-patch: |
49 |
@${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL} -w|" \ |
56 |
@${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL} -w|" \ |
50 |
${WRKSRC}/src/elmoconf.pl |
57 |
${WRKSRC}/src/elmoconf.pl |
|
|
58 |
@${REINPLACE_CMD} -e 's|gpgme4|gpgme|g' -e 's|== "|= "|g' ${WRKSRC}/configure |
59 |
@${REINPLACE_CMD} -e 's|gpgme4|gpgme|g' ${WRKSRC}/src/pgp.c |
51 |
|
60 |
|
52 |
post-install: |
61 |
post-install: |
53 |
@${CAT} ${PKGMESSAGE} |
62 |
@${CAT} ${PKGMESSAGE} |