From eccc5279de79aa7d8bfd6295b1a120b697574bc1 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 20 Dec 2012 19:31:18 +0000 Subject: * Port PORTEPOCH to fix portaudit warnings (conflict with net/netatalk) * Fix installation of default afp.conf file * Clean up some portlint warnings --- net/netatalk3/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'net/netatalk3') diff --git a/net/netatalk3/Makefile b/net/netatalk3/Makefile index c59901d56714..c515fda28d44 100644 --- a/net/netatalk3/Makefile +++ b/net/netatalk3/Makefile @@ -7,6 +7,7 @@ PORTNAME= netatalk PORTVERSION= 3.0.1 +PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF @@ -14,7 +15,7 @@ MAINTAINER= marcus@FreeBSD.org COMMENT= File server for Mac OS X LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt \ - event-2.0:${PORTSDIR}/devel/libevent2 + event-2:${PORTSDIR}/devel/libevent2 LATEST_LINK= netatalk3 USE_AUTOTOOLS= libtool @@ -81,7 +82,7 @@ PLIST_SUB+= NETATALKPAM="@comment " .if defined (WITH_ZEROCONF) CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -LIB_DEPENDS+= avahi-client.3:${PORTSDIR}/net/avahi-app +LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app USE_GNOME+= pkgconfig SUB_LIST+= ZEROCONF="avahi_daemon" .else @@ -118,6 +119,8 @@ post-patch: post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/macusers/macusers \ ${PREFIX}/bin/macusers + [ -f ${PREFIX}/etc/apf.conf ] || \ + ${INSTALL_DATA} -c ${PREFIX}/etc/afp.conf.dist ${PREFIX}/etc/afp.conf @${CAT} ${PKGMESSAGE} .include -- cgit