mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
7acef1cd7a
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type fixes that shouldn't have been necessary) and the string "/pkg/" appear.
64 lines
1.8 KiB
Makefile
64 lines
1.8 KiB
Makefile
# Ports collection makefile for: netatalk-asun
|
|
# Date created: 07 Sep 1998
|
|
# Whom: stb@freebsd.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= netatalk
|
|
PORTVERSION= 1.4b2+asun2.1.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= net print
|
|
MASTER_SITES= ftp://ftp.u.washington.edu/public/asun/ \
|
|
${MASTER_SITE_LOCAL} \
|
|
ftp://ftp.hanse.de/sites/transit/mirror/ftp.u.washington.edu/public/asun/
|
|
MASTER_SITE_SUBDIR= stb/mirror/ftp.u.washington.edu/public/asun
|
|
|
|
MAINTAINER= stb@freebsd.org
|
|
|
|
.if !exists(/usr/include/tcpd.h)
|
|
LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
|
|
.endif
|
|
|
|
MAKE_ARGS= INSTALL="${INSTALL} ${COPY}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_SENDFILE) && ${OSVERSION} >= 310000
|
|
MAKE_ARGS+= -DUSE_SENDFILE
|
|
.endif
|
|
|
|
.if defined(WITH_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(WITH_SENDFILE) && ${OSVERSION} < 310000
|
|
@${ECHO_MSG} "*** sendfile(2) support is available only with FreeBSD 3.1-RELEASE"
|
|
@${ECHO_MSG} " or newer. This port probably won't compile."
|
|
.endif
|
|
.if ${OSVERSION} >= 310000
|
|
.if defined(WITH_SENDFILE)
|
|
@${ECHO_MSG} "*** sendfile(2) support is experimental and will likely cause"
|
|
@${ECHO_MSG} " undesired behaviour!"
|
|
.else
|
|
# @${ECHO_MSG} "*** Use -DWITH_SENDFILE to enable the experimental sendfile(2) support."
|
|
.endif
|
|
.endif
|
|
|
|
MAN1= aecho.1 getzones.1 hqx2bin.1 macbinary.1 megatron.1 nbp.1 \
|
|
nbplkup.1 nbprgstr.1 nbpunrgstr.1 pap.1 papstatus.1 \
|
|
psorder.1 single2bin.1 unbin.1 unhex.1 unsingle.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} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.post.mk>
|