diff options
author | hubertf <hubertf@pkgsrc.org> | 2002-05-08 00:35:13 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2002-05-08 00:35:13 +0000 |
commit | 90c9f1c484f3f331993b5fece29b38f056e4aa99 (patch) | |
tree | 74cf113deadef8ae9d752d5e622a1f582c4ff770 /net/pureftpd/Makefile | |
parent | 0e1ba53d095603ff9be78e0fb37af131b239fd81 (diff) | |
download | pkgsrc-90c9f1c484f3f331993b5fece29b38f056e4aa99.tar.gz |
Add rc-script
Submitted by Dawid SzymaƱski <dawszy@arhea.net> in private mail.
Diffstat (limited to 'net/pureftpd/Makefile')
-rw-r--r-- | net/pureftpd/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/pureftpd/Makefile b/net/pureftpd/Makefile index 6fb443bda57..b31df045701 100644 --- a/net/pureftpd/Makefile +++ b/net/pureftpd/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2002/05/07 23:12:05 hubertf Exp $ +# $NetBSD: Makefile,v 1.5 2002/05/08 00:35:14 hubertf Exp $ # DISTNAME= pure-ftpd-1.0.11 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://belnet.dl.sourceforge.net/sourceforge/pureftpd/ \ ${MASTER_SITE_SOURCEFORGE:=pureftpd/} @@ -25,4 +26,11 @@ 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 + +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |