diff options
author | Dennis Herrmann <dhn@FreeBSD.org> | 2011-02-12 09:38:43 +0000 |
---|---|---|
committer | Dennis Herrmann <dhn@FreeBSD.org> | 2011-02-12 09:38:43 +0000 |
commit | a728c8d831d7446602af81bd7ad35ee79f999700 (patch) | |
tree | 66398044598b3faf3e9174357220e814ad4a6c01 /mail/elmo-devel/Makefile | |
parent | b46a839227851d4780c88eeda62a52481a2f8424 (diff) | |
download | ports-a728c8d831d7446602af81bd7ad35ee79f999700.tar.gz ports-a728c8d831d7446602af81bd7ad35ee79f999700.zip |
Notes
Diffstat (limited to 'mail/elmo-devel/Makefile')
-rw-r--r-- | mail/elmo-devel/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/mail/elmo-devel/Makefile b/mail/elmo-devel/Makefile index e4aec77b50b0..d3a530a33762 100644 --- a/mail/elmo-devel/Makefile +++ b/mail/elmo-devel/Makefile @@ -7,9 +7,9 @@ PORTNAME= elmo PORTVERSION= 1.3.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20devel/${PORTVERSION} +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= -devel MAINTAINER= dhn@FreeBSD.org @@ -22,10 +22,14 @@ USE_ICONV= yes USE_OPENSSL= yes USE_PERL5_RUN= yes +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \ +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" +MAKE_JOBS_SAFE= yes MAN1= elmo.1 elmoconf.pl.1 @@ -39,8 +43,8 @@ USE_GETTEXT= yes .include <bsd.port.pre.mk> -.if exists(${LOCALBASE}/lib/libgpgme03.so) || defined(WITH_GPGME) -LIB_DEPENDS+= gpgme03:${PORTSDIR}/security/gpgme03 +.if exists(${LOCALBASE}/lib/libgpgme.so) || defined(WITH_GPGME) +LIB_DEPENDS+= gpgme.18:${PORTSDIR}/security/gpgme .else pre-everything:: @${ECHO_CMD} @@ -51,6 +55,8 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL} -w|" \ ${WRKSRC}/src/elmoconf.pl + @${REINPLACE_CMD} -e 's|gpgme4|gpgme|g' -e 's|== "|= "|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|gpgme4|gpgme|g' ${WRKSRC}/src/pgp.c post-install: @${CAT} ${PKGMESSAGE} |