aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sentinel/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-10-12 10:34:23 +0800
committerache <ache@FreeBSD.org>2003-10-12 10:34:23 +0800
commit271ab93346b00b985a47be305cbab78d2e3221f8 (patch)
treea31d4db3d4445b902fea685679d1def6ae0a395e /mail/sentinel/Makefile
parentdb16b41044d76a61d7a240a4dfa61a6e399f19b3 (diff)
downloadfreebsd-ports-gnome-271ab93346b00b985a47be305cbab78d2e3221f8.tar.gz
freebsd-ports-gnome-271ab93346b00b985a47be305cbab78d2e3221f8.tar.zst
freebsd-ports-gnome-271ab93346b00b985a47be305cbab78d2e3221f8.zip
Move socket from /usr/local/var/sentinel to /var/sentinel
(we don't have /usr/local/var). Remember to rebuild /etc/mail/*.mc
Diffstat (limited to 'mail/sentinel/Makefile')
-rw-r--r--mail/sentinel/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/mail/sentinel/Makefile b/mail/sentinel/Makefile
index db7af24a7cc0..2f2ca999e87c 100644
--- a/mail/sentinel/Makefile
+++ b/mail/sentinel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sentinel
PORTVERSION= 1.6.5b
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= smfilter
@@ -17,8 +17,6 @@ COMMENT= A sendmail milter API implementation
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
-USE_REINPLACE= yes
-
.include <bsd.port.pre.mk>
.if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a)
@@ -27,10 +25,6 @@ IGNORE= requires Sendmail 8.12
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|:/var|:${PREFIX}/var|g' ${WRKSRC}/sentinel.cf.SAMPLE
-
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} ${PTHREAD_CFLAGS} \
@@ -39,8 +33,8 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/sbin
- @${MKDIR} ${PREFIX}/var/sentinel
- ${CHOWN} smmsp:smmsp ${PREFIX}/var/sentinel
+ @${MKDIR} /var/sentinel
+ ${CHOWN} smmsp:smmsp /var/sentinel
${INSTALL_DATA} ${FILESDIR}/000.sentinel.sh ${PREFIX}/etc/rc.d/sentinel.sh-dist
${INSTALL_DATA} ${WRKSRC}/sentinel.cf.SAMPLE ${PREFIX}/etc/sentinel.cf.dist
.if !defined(NOPORTDOCS)