ab883fc770
- nuke trivial MESSAGE. ok sturm@
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.14 2005/07/03 18:06:37 aanriot Exp $
|
|
|
|
COMMENT= "Ftp daemon which aims to be secure"
|
|
|
|
VERSION= 2.0.3
|
|
DISTNAME= vsftpd-${VERSION}
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://vsftpd.beasts.org/
|
|
|
|
MAINTAINER= Alexandre Anriot <aanriot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c crypto util ssl wrap
|
|
|
|
MASTER_SITES= ftp://vsftpd.beasts.org/users/cevans/
|
|
|
|
ALL_TARGET= vsftpd
|
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -W -Wshadow"
|
|
|
|
SAMPLEDIR= ${PREFIX}/share/examples/vsftpd
|
|
NO_REGRESS= Yes
|
|
|
|
do-configure:
|
|
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," ${WRKSRC}/defs.h
|
|
|
|
do-install:
|
|
${INSTALL} ${WRKSRC}/vsftpd ${PREFIX}/sbin/
|
|
${INSTALL_MAN} ${WRKSRC}/vsftpd.8 ${PREFIX}/man/man8
|
|
${INSTALL_MAN} ${WRKSRC}/vsftpd.conf.5 ${PREFIX}/man/man5
|
|
${INSTALL_DATA_DIR} ${SAMPLEDIR}
|
|
@cp -r ${WRKSRC}/EXAMPLE/* ${SAMPLEDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/vsftpd.conf ${SAMPLEDIR}
|
|
|
|
.include <bsd.port.mk>
|