svn commit: r309323 - head/net/netatalk3

Joe Marcus Clarke marcus at FreeBSD.org
Thu Dec 20 19:31:19 UTC 2012


Author: marcus
Date: Thu Dec 20 19:31:18 2012
New Revision: 309323
URL: http://svnweb.freebsd.org/changeset/ports/309323

Log:
  * Port PORTEPOCH to fix portaudit warnings (conflict with net/netatalk)
  * Fix installation of default afp.conf file
  * Clean up some portlint warnings

Modified:
  head/net/netatalk3/Makefile

Modified: head/net/netatalk3/Makefile
==============================================================================
--- head/net/netatalk3/Makefile	Thu Dec 20 18:55:05 2012	(r309322)
+++ head/net/netatalk3/Makefile	Thu Dec 20 19:31:18 2012	(r309323)
@@ -7,6 +7,7 @@
 
 PORTNAME=	netatalk
 PORTVERSION=	3.0.1
+PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	SF
 
@@ -14,7 +15,7 @@ MAINTAINER=	marcus at 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 <bsd.port.post.mk>


More information about the svn-ports-all mailing list