mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
17667bab53
PR: ports/60753 Submitted by: Cheng-Lung Sung <clsung@dragon2.net> (maintainer)
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# New ports collection makefile for: dbacl
|
|
# Date created: 2003-10-30
|
|
# Whom: Cheng-Lung Sung <clsung@dragon2.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dbacl
|
|
PORTVERSION= 1.6
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= clsung@dragon2.net
|
|
COMMENT= Digramic Bayesian classifier
|
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
USE_REINPLACE= yes
|
|
|
|
PROGRAMS= bayesol dbacl mailinspect
|
|
SCRIPTS= mailcross mailtoe mailfoot
|
|
MAN1= bayesol.1 dbacl.1 mailcross.1 mailinspect.1 mailtoe.1 mailfoot.1
|
|
DOCS= AUTHORS ChangeLog README doc/dbacl.ps doc/email.html doc/tutorial.html
|
|
EXAMPLES= sample*.txt japanese.txt example*.risk toy.risk prop.pl
|
|
|
|
pre-install:
|
|
@cd ${WRKSRC}/src && \
|
|
${REINPLACE_CMD} -e 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,' \
|
|
${SCRIPTS}
|
|
|
|
do-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC}/src && \
|
|
${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
|
|
${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
|
|
cd ${WRKSRC}/man && \
|
|
${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 && \
|
|
cd ${WRKSRC}/doc && \
|
|
${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|