1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Update to 1.15

- Use PLIST_FILES, SUB_FILES
This commit is contained in:
Volker Stolz 2005-04-26 08:34:13 +00:00
parent 9ae1d67e28
commit 0c3cfc2261
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134192
5 changed files with 12 additions and 15 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= vbsfilter
PORTVERSION= 1.11
PORTVERSION= 1.15
CATEGORIES= mail
MASTER_SITES= http://aeschi.ch.eu.org/milter/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@ -16,6 +16,9 @@ EXTRACT_ONLY= # empty
MAINTAINER= ports@FreeBSD.org
COMMENT= A vbs-attachment filter for Sendmail
SUB_FILES= vbsfilter.sh
PLIST_FILES= libexec/vbsfilter etc/rc.d/vbsfilter.sh.sample
.if !defined(SENDMAIL_MILTER_IN_BASE)
.if defined(SENDMAIL_WITH_SHARED_MILTER)
LIB_DEPENDS+= milter.3:${PORTSDIR}/mail/${SENDMAIL_MILTER_PORT}
@ -57,8 +60,6 @@ pre-fetch:
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${_DISTDIR}vbsfilter-${PORTVERSION}.c ${WRKSRC}
@${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/vbsfilter.sh \
> ${WRKSRC}/vbsfilter.sh
.for i in ${CTARGETS}
${i}:
@ -72,7 +73,7 @@ do-build: ${CTARGETS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vbsfilter-${PORTVERSION} \
${PREFIX}/libexec/vbsfilter
${INSTALL_SCRIPT} ${WRKSRC}/vbsfilter.sh \
${INSTALL_SCRIPT} ${WRKDIR}/vbsfilter.sh \
${PREFIX}/etc/rc.d/vbsfilter.sh.sample
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
MD5 (vbsfilter-1.11.c) = 929924ede533cb8cb20afd05f46fbd2b
SIZE (vbsfilter-1.11.c) = 10639
MD5 (vbsfilter-1.15.c) = 09d2bb03d8c1c4136c2876fa8b4c2245
SIZE (vbsfilter-1.15.c) = 11776

View File

@ -1,11 +1,10 @@
--- vbsfilter-1.11.c.orig Thu Jan 16 04:21:30 2003
+++ vbsfilter-1.11.c Thu Jan 16 04:27:36 2003
@@ -13,6 +13,12 @@
--- vbsfilter-1.15.c.orig
+++ vbsfilter-1.15.c
@@ -14,6 +14,11 @@
#include <sysexits.h>
#include <termios.h>
#include <unistd.h>
#include <sys/ioctl.h>
+#ifdef __FreeBSD__
+#include <ctype.h>
+#include <stdlib.h>
+#include <netdb.h>
+#include <unistd.h>

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/mail/vbsfilter/files/Attic/vbsfilter.sh,v 1.4 2003-12-04 03:24:09 dinoex Exp $
# $FreeBSD$
#
if ! test -x %%PREFIX%%/libexec/vbsfilter
then

View File

@ -1,3 +0,0 @@
@comment $FreeBSD: /tmp/pcvs/ports/mail/vbsfilter/Attic/pkg-plist,v 1.1 2001-03-13 06:47:25 dinoex Exp $
libexec/vbsfilter
etc/rc.d/vbsfilter.sh.sample