diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/prayer/Makefile | 36 | ||||
-rw-r--r-- | mail/prayer/distinfo | 6 |
2 files changed, 36 insertions, 6 deletions
diff --git a/mail/prayer/Makefile b/mail/prayer/Makefile index 1491a6b8ca6a..dabc8208db86 100644 --- a/mail/prayer/Makefile +++ b/mail/prayer/Makefile @@ -6,7 +6,7 @@ # PORTNAME= prayer -PORTVERSION= 1.3.2 +PORTVERSION= 1.3.3 CATEGORIES= mail www MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/prayer/ @@ -17,19 +17,25 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libc-client4.a:${PORTSDIR}/mail/cclient USE_OPENLDAP= yes USE_GMAKE= yes -USE_OPENSSL= yes USE_PERL5_BUILD=yes USE_ICONV= yes LDFLAGS+= -L${LOCALBASE}/lib + MAKE_ENV+= PORTCFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ PORTLDFLAGS="${LDFLAGS}" PORTDOCS= ACCOUNTD CMD_LINE DESIGN DONE DONE-OLD FEATURES ICONLIST \ INSTALL LOGS NOTICE README ROADMAP SECURITY TODO +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/docs/LICENCE + USE_RC_SUBR= prayer -OPTIONS= SESSIONCACHE "Activate Session Cache" On +OPTIONS= SESSIONCACHE "Activate Session Cache" On \ + TIDY "Enable tidy support" On \ + SSL "Enable SSL support" On \ + LDAP "Enable LDAP support" On USERS= _prayer GROUPS= prayer @@ -43,6 +49,14 @@ MAN8= prayer-session.8 prayer-ssl-prune.8 prayer.8 USE_BDB= yes .endif +.if !defined(WITHOUT_LDAP) +USE_OPENLDAP= yes +.endif + +.if !defined(WITHOUT_TIDY) +LIB_DEPENDS+= tidy-0.99.0:${PORTSDIR}/www/tidy-lib +.endif + pre-patch: @${CP} ${WRKSRC}/defaults/Config ${WRKSRC}/Config @@ -63,6 +77,22 @@ post-configure: .endif @${REINPLACE_CMD} "s#^RW_USER = prayer#RW_USER = _prayer#" ${WRKSRC}/Config +.if defined(WITHOUT_SSL) + @${REINPLACE_CMD} "s#^SSL_ENABLE = true#SSL_ENABLE = false#" ${WRKSRC}/Config +.else + @${REINPLACE_CMD} "s#CCLIENT_SSL_ENABLE = false#CCLIENT_SSL_ENABLE = true#" ${WRKSRC}/Config +.endif + +.if defined(WITHOUT_LDAP) + @${REINPLACE_CMD} "s#LDAP_ENABLE = true#LDAP_ENABLE = false#" ${WRKSRC}/Config +.endif + +.if defined(WITHOUT_TIDY) + @${REINPLACE_CMD} "s#TIDY_ENABLE = true#TIDY_ENABLE = false#" ${WRKSRC}/Config +.else + @${REINPLACE_CMD} "s#TIDY_INCLUDE=-I/usr/include/tidy#TIDY_INCLUDE=-I${LOCALBASE}/include/tidy#" ${WRKSRC}/Config +.endif + pre-install: @${MKDIR} ${PREFIX}/etc/prayer diff --git a/mail/prayer/distinfo b/mail/prayer/distinfo index 0e32841d9ef7..5a5cddc37728 100644 --- a/mail/prayer/distinfo +++ b/mail/prayer/distinfo @@ -1,3 +1,3 @@ -MD5 (prayer-1.3.2.tar.gz) = 4762d3eede64770f0f5f654cceef09f6 -SHA256 (prayer-1.3.2.tar.gz) = 78d6011fd49ca6c085b6e4c44759e6b246a82b859dd3f2e5a45d4775b45ae528 -SIZE (prayer-1.3.2.tar.gz) = 748315 +MD5 (prayer-1.3.3.tar.gz) = 528311d585a84c9459288fe7e4d09178 +SHA256 (prayer-1.3.3.tar.gz) = 187a7ee2cae1685d0c4c6bfc0f005f6b50248880a204ee53309778a3bb7691a2 +SIZE (prayer-1.3.3.tar.gz) = 746400 |