summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgrant <grant>2003-01-16 09:14:51 +0000
committergrant <grant>2003-01-16 09:14:51 +0000
commit2cc9af77df4f1ef99a2e0db8ff6098f101968eb9 (patch)
treefaec9aad447cf46176cf75683e6d011054532736 /net
parent821586ea9fa828102a9bb90be98faae06a4487a6 (diff)
downloadpkgsrc-2cc9af77df4f1ef99a2e0db8ff6098f101968eb9.tar.gz
use automatic rc script handling.
Diffstat (limited to 'net')
-rw-r--r--net/pureftpd/Makefile8
-rw-r--r--net/pureftpd/files/pure_ftpd.sh (renamed from net/pureftpd/files/pure_ftpd)4
2 files changed, 4 insertions, 8 deletions
diff --git a/net/pureftpd/Makefile b/net/pureftpd/Makefile
index 15a0267a565..ead2b1c98e7 100644
--- a/net/pureftpd/Makefile
+++ b/net/pureftpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/06/11 11:14:30 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2003/01/16 09:14:51 grant Exp $
#
DISTNAME= pure-ftpd-1.0.12
@@ -24,11 +24,7 @@ LDFLAGS+= -L${LOCALBASE}/lib/mysql -Wl,-R${LOCALBASE}/lib/mysql
BUILD_DEFS+= PURE_FTPD_USE_MYSQL
.endif
-post-build:
- ${SED} ${FILES_SUBST_SED} ${FILESDIR}/pure_ftpd > ${WRKDIR}/pure_ftpd
-
-post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/pure_ftpd ${PREFIX}/etc/rc.d/pure_ftpd
+RCD_SCRIPTS= pure_ftpd
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/pureftpd/files/pure_ftpd b/net/pureftpd/files/pure_ftpd.sh
index 5537491be6f..1a72a303e71 100644
--- a/net/pureftpd/files/pure_ftpd
+++ b/net/pureftpd/files/pure_ftpd.sh
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: pure_ftpd,v 1.2 2002/09/23 15:02:07 grant Exp $
+# $NetBSD: pure_ftpd.sh,v 1.1 2003/01/16 09:14:55 grant Exp $
#
# PROVIDE: pure-ftpd
# REQUIRE: DAEMON