diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2004-01-31 22:51:09 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2004-01-31 22:51:09 +0000 |
commit | a5d81534e27eab4a521aea038a86d4746e8da41a (patch) | |
tree | 261d3d0139ca88a7f660f26cb9352fe1f792f77f /mail/dspam-devel/Makefile | |
parent | 59508b66ae0159e81de24b798df718ceef81e2c4 (diff) |
- Update to 2.8.3 [1]
- Silence configure warning
- Add SIZE to distinfo
- Move MySQL scripts into EXAMPLESDIR
PR: ports/62108 [1]
Submitted by: maintainer [1]
Notes
Notes:
svn path=/head/; revision=99638
Diffstat (limited to 'mail/dspam-devel/Makefile')
-rw-r--r-- | mail/dspam-devel/Makefile | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/mail/dspam-devel/Makefile b/mail/dspam-devel/Makefile index f835cd659c68..0e1bb304095f 100644 --- a/mail/dspam-devel/Makefile +++ b/mail/dspam-devel/Makefile @@ -6,20 +6,20 @@ # PORTNAME= dspam -PORTVERSION= 2.8.1 -PORTREVISION= 1 +PORTVERSION= 2.8.3 CATEGORIES= mail MASTER_SITES= http://www.nuclearelephant.com/projects/dspam/sources/ MAINTAINER= rob@debank.tv COMMENT= A server-side bayesian spam filter -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam -CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" -INSTALLS_SHLIB= yes USE_LIBTOOL= yes USE_REINPLACE= yes +INSTALLS_SHLIB= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \ -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \ @@ -59,27 +59,22 @@ CONFIGURE_ARGS+= --with-dspam-mode=4511 CONFIGURE_ARGS+= --enable-spam-delivery .endif +DOCS= CHANGE README + post-patch: @${REINPLACE_CMD} -e 's|%%LIBTOOLFLAGS%%|${LIBTOOLFLAGS}|g ; \ s|-ldb-4.1|-ldb41|g' ${WRKSRC}/configure post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGE \ - ${DOCSDIR} .if defined(WITH_MYSQL) - @${MKDIR} ${DOCSDIR}/mysql - @${INSTALL_DATA} ${WRKSRC}/tools.mysql_drv/README \ - ${WRKSRC}/tools.mysql_drv/mysql_objects.sql \ - ${WRKSRC}/tools.mysql_drv/virtual_users.sql \ - ${WRKSRC}/tools.mysql_drv/purge.sql \ - ${DOCSDIR}/mysql @${MKDIR} ${EXAMPLESDIR} + cd ${WRKSRC}/tools.mysql_drv && \ + ${INSTALL_DATA} README *.sql ${EXAMPLESDIR} + ${INSTALL_DATA} ${FILESDIR}/mysql.data ${EXAMPLESDIR} .endif -.endif -.if defined(WITH_MYSQL) - @${INSTALL_DATA} ${FILESDIR}/mysql.data ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif @${SED} ${SED_SCRIPT} ${PKGMESSAGE} |