From a5d81534e27eab4a521aea038a86d4746e8da41a Mon Sep 17 00:00:00 2001 From: Sergei Kolobov Date: Sat, 31 Jan 2004 22:51:09 +0000 Subject: - 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] --- mail/dspam-devel/Makefile | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'mail/dspam-devel/Makefile') 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} -- cgit v1.2.3