1998-11-24 10:24:27 +00:00
|
|
|
# Ports collection makefile for: netatalk-asun
|
|
|
|
# Version required: netatalk-1.4b2-asun-2.0
|
|
|
|
# Date created: 07 Sep 1998
|
|
|
|
# Whom: stb@freebsd.org
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1998-11-24 10:24:27 +00:00
|
|
|
#
|
|
|
|
|
1999-03-22 21:34:23 +00:00
|
|
|
DISTNAME= netatalk-1.4b2+asun2.1.3
|
2000-02-14 02:18:37 +00:00
|
|
|
PKGNAME= netatalk-1.4b2+asun2.1.3
|
1998-11-24 10:24:27 +00:00
|
|
|
CATEGORIES= net print
|
1999-04-20 22:54:02 +00:00
|
|
|
MASTER_SITES= ftp://ftp.u.washington.edu/public/asun/ \
|
2000-02-08 09:29:51 +00:00
|
|
|
http://people.FreeBSD.org/~stb/mirror/ftp.u.washington.edu/public/asun/ \
|
1999-05-17 08:17:57 +00:00
|
|
|
ftp://ftp.hanse.de/sites/transit/mirror/ftp.u.washington.edu/public/asun/
|
1998-11-24 10:24:27 +00:00
|
|
|
|
|
|
|
MAINTAINER= stb@freebsd.org
|
|
|
|
|
1999-06-21 12:43:07 +00:00
|
|
|
.if !exists(/usr/include/tcpd.h)
|
1999-02-25 01:57:43 +00:00
|
|
|
LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
|
1999-06-21 12:43:07 +00:00
|
|
|
.endif
|
1998-11-24 10:24:27 +00:00
|
|
|
|
1999-03-22 21:34:23 +00:00
|
|
|
MAKE_ARGS= INSTALL="${INSTALL} ${COPY}"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(USE_SENDFILE) && ${OSVERSION} >= 310000
|
|
|
|
MAKE_ARGS+= -DUSE_SENDFILE
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(USE_CNID)
|
|
|
|
## Support for fixed DirIDs; probably broken.
|
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libdb.a:${PORTSDIR}/databases/db
|
|
|
|
MAKE_ARGS+= -DUSE_CNID
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
## sendfile(2) support seems to be broken in this version, but go ahead an try
|
|
|
|
## to fix it!
|
|
|
|
.if defined(USE_SENDFILE) && ${OSVERSION} < 310000
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} "*** sendfile(2) support is available only with FreeBSD 3.1-RELEASE"
|
|
|
|
@${ECHO_MSG} " or newer. This port probably won't compile."
|
1999-03-22 21:34:23 +00:00
|
|
|
.endif
|
|
|
|
.if ${OSVERSION} >= 310000
|
|
|
|
.if defined(USE_SENDFILE)
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} "*** sendfile(2) support is experimental and will likely cause"
|
|
|
|
@${ECHO_MSG} " undesired behaviour!"
|
1999-03-22 21:34:23 +00:00
|
|
|
.else
|
1999-08-27 22:30:39 +00:00
|
|
|
# @${ECHO_MSG} "*** Use -DUSE_SENDFILE to enable the experimental sendfile(2) support."
|
1999-03-22 21:34:23 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
1998-11-24 10:24:27 +00:00
|
|
|
MAN1= aecho.1 getzones.1 megatron.1 nbp.1 pap.1 psorder.1
|
|
|
|
MAN3= atalk_aton.3 nbp_name.3
|
|
|
|
MAN4= atalk.4
|
|
|
|
MAN8= afpd.8 atalkd.8 papd.8 psf.8
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
|
|
|
|
2000-01-07 16:40:17 +00:00
|
|
|
.include <bsd.port.post.mk>
|