diff options
Diffstat (limited to 'net/netatalk/Makefile')
-rw-r--r-- | net/netatalk/Makefile | 53 |
1 files changed, 35 insertions, 18 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index 552e7d52b41..2ff3ab64b30 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -1,25 +1,42 @@ -# $NetBSD: Makefile,v 1.13 2001/11/29 01:12:43 hubertf Exp $ -# +# $NetBSD: Makefile,v 1.14 2002/05/25 12:55:24 markd Exp $ -DISTNAME= netatalk-990130 -PKGNAME= netatalk-umich-19990130 -PKGREVISION= 2 -WRKSRC= ${WRKDIR}/netatalk-990130 -CATEGORIES= net -MASTER_SITES= ftp://terminator.rs.itd.umich.edu/unix/netatalk/ +DISTNAME= netatalk-1.5.3.1 +CATEGORIES= net print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/} \ + http://me.in-berlin.de/~jroger/netatalk/ \ -MAINTAINER= wrstuden@netbsd.org -HOMEPAGE= http://www.umich.edu/~rsug/netatalk/ -COMMENT= University of Michigan's netatalk; AppleTalk interworking +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_PERL5= yes +#USE_LIBTOOL= yes +#LIBTOOL_OVERRIDE=${WRKSRC}/libtool -CONFLICTS= netatalk-asun-[0-9]* -CONFLICTS+= netatalk-19981109 +.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 -do-configure: - ${CP} ${FILESDIR}/shlib_version ${WRKSRC}/libatalk +MAINTAINER= markd@netbsd.org +HOMEPAGE= http://sourceforge.net/projects/netatalk/ +COMMENT= Netatalk appletalk file and print services -post-install: - ${RM} ${PREFIX}/share/examples/netatalk/AppleVolumes.system.orig - PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL +CONFLICTS= netatalk-asun-[0-9]* +CONFLICTS+= netatalk-umich-[0-9]* + +MESSAGE_SUBST+= PREFIX=${PREFIX} +MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} + +pre-install: + ${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; gmake ${FILE} ) + ${INSTALL_DATA} ${WRKSRC}/config/${FILE} \ + ${PREFIX}/share/examples/netatalk/ +.endfor .include "../../mk/bsd.pkg.mk" |