summaryrefslogtreecommitdiff
path: root/security/smtpd
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-20 20:07:13 +0000
committerjlam <jlam@pkgsrc.org>2006-07-20 20:07:13 +0000
commitf4776bbdaf83f406346aa616f049743a78a9a176 (patch)
tree6f66cb1cbfb4aa8d1ecadbc3babce2ef0e5d1b8c /security/smtpd
parent8f3802b3d9590b80da47040fe864f28cf2dd09d8 (diff)
downloadpkgsrc-f4776bbdaf83f406346aa616f049743a78a9a176.tar.gz
Convert to use the pkginstall framework for INSTALL/DEINSTALL scripts.
Diffstat (limited to 'security/smtpd')
-rw-r--r--security/smtpd/DEINSTALL17
-rw-r--r--security/smtpd/Makefile9
2 files changed, 3 insertions, 23 deletions
diff --git a/security/smtpd/DEINSTALL b/security/smtpd/DEINSTALL
deleted file mode 100644
index 146ced8863c..00000000000
--- a/security/smtpd/DEINSTALL
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /bin/sh
-#
-# $NetBSD: DEINSTALL,v 1.1 2001/11/01 01:17:48 zuntum Exp $
-#
-
-case "$2" in
- DEINSTALL) cat <<EOF
-
-=============================================================
-Note that the configuration and spool dir (/var/spool/smtpd)
-are not removed in the deinstallation process. You should
-remove those by hand, if you no longer need them.
-=============================================================
-
-EOF
- ;;
-esac
diff --git a/security/smtpd/Makefile b/security/smtpd/Makefile
index a95fdb64129..af1eb3d48c2 100644
--- a/security/smtpd/Makefile
+++ b/security/smtpd/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2006/03/14 01:14:33 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2006/07/20 20:07:13 jlam Exp $
#
DISTNAME= smtpd-2.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= mail security
MASTER_SITES= ftp://ftp.obtuse.com/pub/smtpd/
@@ -26,12 +26,9 @@ CFLAGS.AIX+= -DGETOPT_EOF -DUSE_LOCKF -DNEEDS_FCNTL_H -DNEEDS_LOCKF_H -DNEEDS_ST
OPSYSVARS+= LD_LIBS
LD_LIBS.SunOS+= -lnsl -lsocket -lresolv
MAKE_ENV+= LD_LIBS=${LD_LIBS:Q}
-DEINSTALL_SRC= ${PKGDIR}/DEINSTALL
-INSTALL_SRC= # empty
-
-.include "../../mk/bsd.prefs.mk"
INSTALLATION_DIRS= sbin
+OWN_DIRS= ${SPOOL}
do-install:
${INSTALL_DATA_DIR} ${SPOOL}/etc