Index: head/mail/bogofilter/Makefile =================================================================== --- head/mail/bogofilter/Makefile (revision 123430) +++ head/mail/bogofilter/Makefile (revision 123431) @@ -1,118 +1,118 @@ # ports collection Makefile for: bogofilter # Whom: Matthias Andree # Date created: 2002-10-17 # # $FreeBSD$ # PORTNAME= bogofilter PORTVERSION= 0.92.8 -PORTREVISION= 0 +PORTREVISION?= 0 CATEGORIES?= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER?= matthias.andree@gmx.de COMMENT= "Fast, teachable, learning spam detector" LIB_DEPENDS?= db-4.2:${PORTSDIR}/databases/db42 .if !defined(WITHOUT_GSL) LIB_DEPENDS+= gsl:${PORTSDIR}/math/gsl .endif .if !defined(WITHOUT_BASH) RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 .endif CONFLICTS?= bogofilter-tdb-[0-9]* bogofilter-qdbm-[0-9]* [a-z][a-z]-bogofilter-[0-9]* USE_BZIP2= yes USE_REINPLACE= yes USE_PERL5_RUN= yes GNU_CONFIGURE= yes PATCH_STRIP= -p1 CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc .if defined(WITHOUT_GSL) CONFIGURE_ARGS+= --with-included-gsl .endif CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db42" \ LDFLAGS="-L${LOCALBASE}/lib" LIBS="-ldb-4.2" CONFIGURE_ENV+= PERL="${PERL}" CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} INSTALL_TARGET= install-strip prefix=${PREFIX} MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1 bogotune.1 post-patch: ${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \ ${WRKSRC}/contrib/randomtrain \ ${WRKSRC}/contrib/scramble \ ${WRKSRC}/contrib/trainbogo.sh ${REINPLACE_CMD} -e 's|^#!.*perl|#! ${PERL}|' \ ${WRKSRC}/src/tests/unsort.pl \ ${WRKSRC}/contrib/bogofilter-milter.pl \ ${WRKSRC}/contrib/bogominitrain.pl \ ${WRKSRC}/contrib/mime.get.rfc822 \ ${WRKSRC}/contrib/printmaildir.pl .if !defined(NOPORTDOCS) PORTDOCS= * .endif pre-everything:: @${ECHO_CMD} "" .if !defined(WITHOUT_BASH) @${ECHO_CMD} "To install without bash dependency, you can use: make -DWITHOUT_BASH install" @${ECHO_CMD} "Note that installing without bash dependency will mean that some of the" @${ECHO_CMD} "${DOCSDIR}/contrib scripts will not be installed." @${ECHO_CMD} "" .endif .if !defined(WITHOUT_GSL) @${ECHO_CMD} "To have bogofilter link against its shipped GSL 1.4 statically," @${ECHO_CMD} "you can use: make -DWITHOUT_GSL && make -DWITHOUT_GSL install" .if !defined(WITHOUT_BASH) @${ECHO_CMD} "or: make -DWITHOUT_GSL && make -DWITHOUT_GSL -DWITHOUT_BASH install" .endif @${ECHO_CMD} "" .endif post-build:: cd ${WRKSRC} && make check SHELL=${SH} post-install:: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in contrib html programmer xml @${MKDIR} ${DOCSDIR}/${i} .endfor .for i in AUTHORS COPYING INSTALL NEWS README README.cvs \ doc/README.validation TODO \ CHANGES-* RELEASE.NOTES-* \ doc/integrating-with-postfix doc/integrating-with-qmail \ doc/bogofilter-tuning.HOWTO.html doc/bogofilter-SA-2002-01 \ doc/README.tdb ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/trio/AUTHORS ${DOCSDIR}/AUTHORS.trio .for i in contrib/bogo.R contrib/bogofilter-qfe \ contrib/mime.get.rfc822 contrib/printmaildir.pl \ contrib/bogominitrain.pl contrib/README.contrib ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}/${i} .endfor .for i in contrib/dot-qmail-bogofilter-default ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/contrib/bogogrep ${DOCSDIR}/contrib/ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.xml ${DOCSDIR}/xml ${INSTALL_DATA} ${WRKSRC}/doc/programmer/README.freebsd ${DOCSDIR}/programmer ${INSTALL_DATA} ${FILESDIR}/ChangeLog.port ${DOCSDIR} .endif .if !defined(WITHOUT_BASH) .for i in randomtrain scramble trainbogo.sh ${INSTALL_SCRIPT} ${WRKSRC}/contrib/${i} ${DOCSDIR}/contrib/ .endfor ${INSTALL_DATA} ${WRKSRC}/contrib/README.randomtrain ${DOCSDIR}/contrib/ .endif ${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/mail/bogofilter/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.48 \ No newline at end of property +1.49 \ No newline at end of property Index: head/mail/bogofilter-current/Makefile =================================================================== --- head/mail/bogofilter-current/Makefile (revision 123430) +++ head/mail/bogofilter-current/Makefile (revision 123431) @@ -1,118 +1,118 @@ # ports collection Makefile for: bogofilter # Whom: Matthias Andree # Date created: 2002-10-17 # # $FreeBSD$ # PORTNAME= bogofilter PORTVERSION= 0.92.8 -PORTREVISION= 0 +PORTREVISION?= 0 CATEGORIES?= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER?= matthias.andree@gmx.de COMMENT= "Fast, teachable, learning spam detector" LIB_DEPENDS?= db-4.2:${PORTSDIR}/databases/db42 .if !defined(WITHOUT_GSL) LIB_DEPENDS+= gsl:${PORTSDIR}/math/gsl .endif .if !defined(WITHOUT_BASH) RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 .endif CONFLICTS?= bogofilter-tdb-[0-9]* bogofilter-qdbm-[0-9]* [a-z][a-z]-bogofilter-[0-9]* USE_BZIP2= yes USE_REINPLACE= yes USE_PERL5_RUN= yes GNU_CONFIGURE= yes PATCH_STRIP= -p1 CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc .if defined(WITHOUT_GSL) CONFIGURE_ARGS+= --with-included-gsl .endif CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db42" \ LDFLAGS="-L${LOCALBASE}/lib" LIBS="-ldb-4.2" CONFIGURE_ENV+= PERL="${PERL}" CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} INSTALL_TARGET= install-strip prefix=${PREFIX} MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1 bogotune.1 post-patch: ${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \ ${WRKSRC}/contrib/randomtrain \ ${WRKSRC}/contrib/scramble \ ${WRKSRC}/contrib/trainbogo.sh ${REINPLACE_CMD} -e 's|^#!.*perl|#! ${PERL}|' \ ${WRKSRC}/src/tests/unsort.pl \ ${WRKSRC}/contrib/bogofilter-milter.pl \ ${WRKSRC}/contrib/bogominitrain.pl \ ${WRKSRC}/contrib/mime.get.rfc822 \ ${WRKSRC}/contrib/printmaildir.pl .if !defined(NOPORTDOCS) PORTDOCS= * .endif pre-everything:: @${ECHO_CMD} "" .if !defined(WITHOUT_BASH) @${ECHO_CMD} "To install without bash dependency, you can use: make -DWITHOUT_BASH install" @${ECHO_CMD} "Note that installing without bash dependency will mean that some of the" @${ECHO_CMD} "${DOCSDIR}/contrib scripts will not be installed." @${ECHO_CMD} "" .endif .if !defined(WITHOUT_GSL) @${ECHO_CMD} "To have bogofilter link against its shipped GSL 1.4 statically," @${ECHO_CMD} "you can use: make -DWITHOUT_GSL && make -DWITHOUT_GSL install" .if !defined(WITHOUT_BASH) @${ECHO_CMD} "or: make -DWITHOUT_GSL && make -DWITHOUT_GSL -DWITHOUT_BASH install" .endif @${ECHO_CMD} "" .endif post-build:: cd ${WRKSRC} && make check SHELL=${SH} post-install:: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in contrib html programmer xml @${MKDIR} ${DOCSDIR}/${i} .endfor .for i in AUTHORS COPYING INSTALL NEWS README README.cvs \ doc/README.validation TODO \ CHANGES-* RELEASE.NOTES-* \ doc/integrating-with-postfix doc/integrating-with-qmail \ doc/bogofilter-tuning.HOWTO.html doc/bogofilter-SA-2002-01 \ doc/README.tdb ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/trio/AUTHORS ${DOCSDIR}/AUTHORS.trio .for i in contrib/bogo.R contrib/bogofilter-qfe \ contrib/mime.get.rfc822 contrib/printmaildir.pl \ contrib/bogominitrain.pl contrib/README.contrib ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}/${i} .endfor .for i in contrib/dot-qmail-bogofilter-default ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/contrib/bogogrep ${DOCSDIR}/contrib/ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.xml ${DOCSDIR}/xml ${INSTALL_DATA} ${WRKSRC}/doc/programmer/README.freebsd ${DOCSDIR}/programmer ${INSTALL_DATA} ${FILESDIR}/ChangeLog.port ${DOCSDIR} .endif .if !defined(WITHOUT_BASH) .for i in randomtrain scramble trainbogo.sh ${INSTALL_SCRIPT} ${WRKSRC}/contrib/${i} ${DOCSDIR}/contrib/ .endfor ${INSTALL_DATA} ${WRKSRC}/contrib/README.randomtrain ${DOCSDIR}/contrib/ .endif ${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include Property changes on: head/mail/bogofilter-current/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.48 \ No newline at end of property +1.49 \ No newline at end of property Index: head/mail/bogofilter-qdbm/Makefile =================================================================== --- head/mail/bogofilter-qdbm/Makefile (revision 123430) +++ head/mail/bogofilter-qdbm/Makefile (revision 123431) @@ -1,25 +1,26 @@ # New ports collection makefile for: bogofilter-qdbm # Date created: 2004-01-02 # Whom: Matthias Andree # # $FreeBSD$ # PORTNAME= bogofilter +PORTREVISION= 1 CATEGORIES= mail PKGNAMESUFFIX= -qdbm MAINTAINER= matthias.andree@gmx.de -LIB_DEPENDS= qdbm.3:${PORTSDIR}/databases/qdbm +LIB_DEPENDS= qdbm.4:${PORTSDIR}/databases/qdbm CONFLICTS= bogofilter-[0-9]* bogofilter-tdb-[0-9]* [a-z][a-z]-bogofilter-[0-9]* CONFIGURE_ARGS= --with-database=qdbm CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" DESCR= ${PKGDIR}/pkg-descr MASTERDIR= ${.CURDIR}/../bogofilter .include "${MASTERDIR}/Makefile" Property changes on: head/mail/bogofilter-qdbm/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property