summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/sendmail/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index e49022b5478..16a9564c7a1 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.56 2003/03/04 00:21:31 seb Exp $
+# $NetBSD: Makefile,v 1.57 2003/04/17 16:13:54 manu Exp $
.include "../../mail/sendmail/Makefile.common"
-PKGNAME= sendmail-${DIST_VERS}
+PKGNAME= sendmail-${DIST_VERS}nb1
COMMENT= The well known Mail Transport Agent
MESSAGE_SRC= ${WRKDIR}/.MESSAGE_SRC
@@ -93,6 +93,15 @@ post-install:
.if ${USE_DB2} == YES
${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
.endif
+.if defined(USE_MILTER) && ${USE_MILTER} == "YES"
+ ${INSTALL_DATA} ${WRKSRC}/obj.`uname -srm | ${TR} \ .`/libsm/libsm.a \
+ ${PREFIX}/lib
+ ${INSTALL_DATA} \
+ ${WRKSRC}/obj.`uname -srm | ${TR} \ .`/libsmutil/libsmutil.a \
+ ${PREFIX}/lib
+ ${ECHO} "lib/libsm.a" >> ${WRKDIR}/.PLIST_SRC
+ ${ECHO} "lib/libsmutil.a" >> ${WRKDIR}/.PLIST_SRC
+.endif
USE_PKGINSTALL= yes
PKG_GROUPS= smmsp