aboutsummaryrefslogtreecommitdiff
path: root/textproc/dbacl
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-04 09:03:27 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-04 09:03:27 +0000
commit94222bb6076db574f59598466d4defbbf027d558 (patch)
tree6579e4384e626ee1e160d7ff30497208b4a40676 /textproc/dbacl
parent8b3ff2dad1924f8db4f28953185c0468f7c4da8c (diff)
downloadports-94222bb6076db574f59598466d4defbbf027d558.tar.gz
ports-94222bb6076db574f59598466d4defbbf027d558.zip
Notes
Diffstat (limited to 'textproc/dbacl')
-rw-r--r--textproc/dbacl/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/textproc/dbacl/Makefile b/textproc/dbacl/Makefile
index aa26f433bc55..cea7940f8fb9 100644
--- a/textproc/dbacl/Makefile
+++ b/textproc/dbacl/Makefile
@@ -9,12 +9,13 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Digramic Bayesian classifier
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
RUN_DEPENDS= bash:shells/bash
GNU_CONFIGURE= yes
-OPTIONS_DEFINE= DOCS EXAMPLES
-
PROGRAMS= bayesol dbacl mailinspect hmine hypex
SCRIPTS= mailcross mailtoe mailfoot
MAN= bayesol.1 dbacl.1 mailcross.1 mailinspect.1 mailtoe.1 mailfoot.1
@@ -24,6 +25,8 @@ DOCS= AUTHORS ChangeLog README doc/dbacl.ps \
PORTDOCS= ${DOCS:T}
PORTEXAMPLES= sample*.txt japanese.txt example*.risk toy.risk prop.pl
+OPTIONS_DEFINE= DOCS EXAMPLES
+
pre-install:
@cd ${WRKSRC}/src && \
${REINPLACE_CMD} -e 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,' \
@@ -35,9 +38,13 @@ do-install:
${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}/man && \
${INSTALL_MAN} ${MAN} ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/doc && \
${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}