summaryrefslogtreecommitdiff
path: root/net/netatalk/Makefile
blob: 721bce33a81dfd14ad21e2639dff30b8f9583fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.16 2002/05/25 13:33:20 wiz Exp $

DISTNAME=	netatalk-1.5.3.1
CATEGORIES=	net print
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=netatalk/} \
		http://me.in-berlin.de/~jroger/netatalk/

MAINTAINER=	markd@netbsd.org
HOMEPAGE=	http://sourceforge.net/projects/netatalk/
COMMENT=	Netatalk appletalk file and print services

GNU_CONFIGURE=	YES
USE_GMAKE=	YES
USE_PERL5=	YES
USE_LIBTOOL=	YES
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool

CONFLICTS=	netatalk-asun-[0-9]* netatalk-umich-[0-9]*

.include "../../mk/bsd.prefs.mk"

CONFIGURE_ARGS+=	--with-tcp-wrappers --with-flock-locks \
			--enable-timelord \
			--localstatedir=/var/netatalk \
			--sbindir=${PREFIX}/libexec/netatalk \
			--with-uams-path=${PREFIX}/libexec/netatalk/uams \
			--sysconfdir=${PKG_SYSCONFDIR} \
			--enable-netbsd

pre-install:
	${INSTALL_DATA_DIR} ${PREFIX}/libexec/psffilters
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/netatalk
.for FILE in atalkd.conf netatalk.conf papd.conf AppleVolumes.default \
		AppleVolumes.system afpd.conf
	@-( cd ${WRKSRC}/config; ${MAKE_PROGRAM} ${FILE} )
	${INSTALL_DATA} ${WRKSRC}/config/${FILE} \
					${PREFIX}/share/examples/netatalk/
.endfor

.include "../../mk/bsd.pkg.mk"