1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/ftp/freebsd-ftpd/Makefile
2021-06-18 21:14:55 -07:00

42 lines
834 B
Makefile

# Created by: cy@FreeBSD.org
PORTNAME= freebsd-ftpd
DISTVERSIONPREFIX= v
DISTVERSION= 20200704
PORTREVISION= 2
CATEGORIES= ftp
MAINTAINER= cy@FreeBSD.org
COMMENT= FreeBSD ftpd
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= cschuber
USES= uidfix
MAKE_ARGS+= BINOWN=${BINOWN} BINMODE=${BINMODE}
MAKE_ENV+= MAKESYSPATH=/usr/src/share/mk \
BINDIR=${PREFIX}/libexec \
MANDIR=${PREFIX}/man/man
OPTIONS_DEFINE= IPV6 LIBBLACKLIST
OPTIONS_DEFAULT= IPV6 LIBBLACKLIST
.if !exists(/usr/include/blacklist.h)
OPTIONS_EXCLUDE= LIBBLACKLIST
.endif
LIBBLACKLIST_DESC= libblacklist(3) support for rlogind(8) and rshd(8)
LIBBLACKLIST_MAKE_ARGS= USE_LIBBLACKLIST=yes
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300134
MAKE_ENV+= MK_WERROR=no
.else
MAKE_ENV+= NO_WERROR=1
.endif
.include <bsd.port.mk>