summaryrefslogtreecommitdiff
path: root/mail/milter-sender
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-09-25 23:12:59 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-09-25 23:12:59 +0000
commit63c1f2ec080de6f4b8ad6971f0787b32a927f09c (patch)
treed23037087ceda30f0dae5e485ccb8e1ea0e113ef /mail/milter-sender
parentUpdate to 0.7.4. This release features XML highlighting using gtksourceview, (diff)
More package system integration fixes
Submitted by: Marius Strobl <marius@alchemy.franken.de>
Notes
Notes: svn path=/head/; revision=89398
Diffstat (limited to 'mail/milter-sender')
-rw-r--r--mail/milter-sender/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/milter-sender/Makefile b/mail/milter-sender/Makefile
index 292982e2fbf7..a630db4c446d 100644
--- a/mail/milter-sender/Makefile
+++ b/mail/milter-sender/Makefile
@@ -14,12 +14,16 @@ DISTFILES= libsnert-1.20.tgz milter-sender-${PORTVERSION}.tgz
MAINTAINER= ache@FreeBSD.org
COMMENT= Real-time sender address verification, based on Milter API
+
RESTRICTED= see LICENSE.TXT
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/com/snert/src/milter-sender
MAKEFILE= makefile
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+.include <bsd.port.pre.mk>
.if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a)
IGNORE= requires Sendmail 8.12
@@ -34,10 +38,14 @@ DOCS= CHANGES.TXT index.shtml style.css mailto.js \
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+= ${PTHREAD_CFLAGS}
-CONFIGURE_ENV+= LIBS="${PTHREAD_LIBS}"
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --localstatedir=${PREFIX} --with-db
MAKE_ENV+= PREFIX="${PREFIX}"
+post-patch:
+ @${SED} 's|\/usr\/local|${PREFIX}|g' ${PKGDIR}/pkg-message > \
+ ${WRKDIR}/pkg-message
+
pre-configure:
@cd ${WRKSRC}/../lib && \
${SETENV} CC="${CC}" CXX="${CXX}" \
@@ -66,4 +74,4 @@ post-deinstall:
@${ECHO_MSG} "and rebuild sendmail.cf file!"
@${ECHO_MSG} ""
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>