aboutsummaryrefslogtreecommitdiff
path: root/mail/sentinel
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-16 14:58:44 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-16 14:58:44 +0000
commit618900fad3eb3cf34defee5f28521d924a146d4b (patch)
tree0221b55042ff113332ed4286e6cb035930556d28 /mail/sentinel
parent2f2dd29a7d41ad967e74d9a81fcfdda4e2e09b6b (diff)
downloadports-618900fad3eb3cf34defee5f28521d924a146d4b.tar.gz
ports-618900fad3eb3cf34defee5f28521d924a146d4b.zip
Notes
Diffstat (limited to 'mail/sentinel')
-rw-r--r--mail/sentinel/Makefile12
-rw-r--r--mail/sentinel/distinfo2
-rw-r--r--mail/sentinel/pkg-plist5
3 files changed, 10 insertions, 9 deletions
diff --git a/mail/sentinel/Makefile b/mail/sentinel/Makefile
index 2f2ca999e87c..f83e3f210e65 100644
--- a/mail/sentinel/Makefile
+++ b/mail/sentinel/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sentinel
-PORTVERSION= 1.6.5b
-PORTREVISION= 3
+PORTVERSION= 1.7b
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= smfilter
@@ -20,16 +19,16 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
.include <bsd.port.pre.mk>
.if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a)
-IGNORE= requires Sendmail 8.12
+IGNORE= requires Sendmail 8.12
.endif
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} ${PTHREAD_CFLAGS} \
-o ${PORTNAME} ${PORTNAME}.c ${LDFLAGS} \
- -lmilter -lpcre -lpcreposix ${PTHREAD_LIBS}
+ -lmilter -lpcre -lpcreposix ${PTHREAD_LIBS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/sbin
@@ -40,6 +39,7 @@ do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.FreeBSD ${DOCSDIR}
.endif
post-install:
diff --git a/mail/sentinel/distinfo b/mail/sentinel/distinfo
index e9fe62a9660a..bcd0eea25477 100644
--- a/mail/sentinel/distinfo
+++ b/mail/sentinel/distinfo
@@ -1 +1 @@
-MD5 (sentinel-1.6.5b.tar.gz) = bcc5fa5e78ca1c556a16fd15601f3d59
+MD5 (sentinel-1.7b.tar.gz) = b13b0403e275e94420e0a77378b26e0f
diff --git a/mail/sentinel/pkg-plist b/mail/sentinel/pkg-plist
index 02e1ec62f6a4..14082aba6cf7 100644
--- a/mail/sentinel/pkg-plist
+++ b/mail/sentinel/pkg-plist
@@ -4,5 +4,6 @@ etc/rc.d/sentinel.sh-dist
@exec mkdir /var/sentinel
@exec chown smmsp:smmsp /var/sentinel
@unexec rm -rf /var/sentinel
-%%PORTDOCS%%share/doc/sentinel/README
-%%PORTDOCS%%@dirrm share/doc/sentinel
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
+%%PORTDOCS%%@dirrm %%DOCSDIR%%