2003-10-31 13:46:33 +01:00
|
|
|
# New ports collection makefile for: dbacl
|
|
|
|
# Date created: 2003-10-30
|
|
|
|
# Whom: Cheng-Lung Sung <clsung@dragon2.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dbacl
|
2006-04-15 05:45:43 +02:00
|
|
|
PORTVERSION= 1.12
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2003-10-31 13:46:33 +01:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF
|
2003-10-31 13:46:33 +01:00
|
|
|
|
2004-08-20 04:56:44 +02:00
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2003-10-31 13:46:33 +01:00
|
|
|
COMMENT= Digramic Bayesian classifier
|
|
|
|
|
2006-12-26 09:10:40 +01:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2003-10-31 13:46:33 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2006-04-15 05:45:43 +02:00
|
|
|
PROGRAMS= bayesol dbacl mailinspect hmine hypex
|
2003-12-31 15:42:13 +01:00
|
|
|
SCRIPTS= mailcross mailtoe mailfoot
|
|
|
|
MAN1= bayesol.1 dbacl.1 mailcross.1 mailinspect.1 mailtoe.1 mailfoot.1
|
2004-07-22 03:32:20 +02:00
|
|
|
DOCS= AUTHORS ChangeLog README doc/dbacl.ps \
|
|
|
|
doc/email.html doc/tutorial.html doc/costs.ps
|
2003-10-31 13:46:33 +01:00
|
|
|
EXAMPLES= sample*.txt japanese.txt example*.risk toy.risk prop.pl
|
|
|
|
|
2003-12-31 15:42:13 +01:00
|
|
|
pre-install:
|
|
|
|
@cd ${WRKSRC}/src && \
|
|
|
|
${REINPLACE_CMD} -e 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,' \
|
|
|
|
${SCRIPTS}
|
|
|
|
|
2003-10-31 13:46:33 +01:00
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2003-12-31 15:42:13 +01:00
|
|
|
cd ${WRKSRC}/src && \
|
2007-08-04 13:41:30 +02:00
|
|
|
${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
|
|
|
|
${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
|
2003-12-31 15:42:13 +01:00
|
|
|
cd ${WRKSRC}/man && \
|
2006-08-14 06:11:53 +02:00
|
|
|
${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 && \
|
2003-12-31 15:42:13 +01:00
|
|
|
cd ${WRKSRC}/doc && \
|
2003-10-31 13:46:33 +01:00
|
|
|
${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|