ports/60753: [maintainer] update textproc/dbacl to 1.6

Cheng-Lung Sung clsung at dragon2.net
Wed Dec 31 02:10:22 UTC 2003


>Number:         60753
>Category:       ports
>Synopsis:       [maintainer] update textproc/dbacl to 1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 30 18:10:19 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.9-RELEASE FreeBSD 4.9-RELEASE #5: Wed Oct 29 20:13:25 CST 2003 root at sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386

>Description:
- Update from 1.4 to 1.6
- lots of features added, see ChangeLog in source tar ball.
>How-To-Repeat:
    apply this patch
>Fix:

diff -ruN /usr/ports/textproc/dbacl/Makefile ./dbacl/Makefile
--- /usr/ports/textproc/dbacl/Makefile	Fri Oct 31 20:46:33 2003
+++ ./dbacl/Makefile	Wed Dec 31 09:44:07 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dbacl
-PORTVERSION=	1.4
+PORTVERSION=	1.6
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -18,19 +18,27 @@
 
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_REINPLACE=	yes
 
 PROGRAMS=	bayesol dbacl mailinspect
-SCRIPTS=	mailcross
-MAN1=		bayesol.1 dbacl.1 mailcross.1 mailinspect.1
-DOCS=		AUTHORS ChangeLog README dbacl.ps email.html tutorial.html
+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} && \
+	cd ${WRKSRC}/src && \
 		${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
-		${INSTALL_SCRIPT} ${SCRIPTS} ${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}
diff -ruN /usr/ports/textproc/dbacl/distinfo ./dbacl/distinfo
--- /usr/ports/textproc/dbacl/distinfo	Fri Oct 31 20:46:33 2003
+++ ./dbacl/distinfo	Fri Dec 26 11:17:21 2003
@@ -1 +1 @@
-MD5 (dbacl-1.4.tar.gz) = 4505b6c1e16f3abf2613a5281240dab1
+MD5 (dbacl-1.6.tar.gz) = 6efaaa314d43b4bb89bec5217474609e
diff -ruN /usr/ports/textproc/dbacl/pkg-plist ./dbacl/pkg-plist
--- /usr/ports/textproc/dbacl/pkg-plist	Fri Oct 31 20:46:33 2003
+++ ./dbacl/pkg-plist	Wed Dec 31 09:41:15 2003
@@ -2,7 +2,9 @@
 bin/bayesol
 bin/dbacl
 bin/mailcross
+bin/mailfoot
 bin/mailinspect
+bin/mailtoe
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/README

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list