diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-20 20:07:13 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-20 20:07:13 +0000 |
commit | 8fdfee94defb7460713c9c7a14e2e9f4ad392053 (patch) | |
tree | 6f66cb1cbfb4aa8d1ecadbc3babce2ef0e5d1b8c /security/smtpd | |
parent | 85199e361cf9629b2245516a4ee51c4424d517db (diff) | |
download | pkgsrc-8fdfee94defb7460713c9c7a14e2e9f4ad392053.tar.gz |
Convert to use the pkginstall framework for INSTALL/DEINSTALL scripts.
Diffstat (limited to 'security/smtpd')
-rw-r--r-- | security/smtpd/DEINSTALL | 17 | ||||
-rw-r--r-- | security/smtpd/Makefile | 9 |
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 |