diff options
Diffstat (limited to 'net/netatalk/Makefile')
-rw-r--r-- | net/netatalk/Makefile | 61 |
1 files changed, 32 insertions, 29 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index 72dd2d9d8c0..70ebc57ad11 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -1,23 +1,29 @@ -# $NetBSD: Makefile,v 1.31 2004/10/03 00:17:56 tv Exp $ +# $NetBSD: Makefile,v 1.32 2004/11/02 11:26:28 markd Exp $ -DISTNAME= netatalk-1.6.2 -PKGREVISION= 1 +DISTNAME= netatalk-2.0.1 CATEGORIES= net print -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/} \ - http://me.in-berlin.de/~jroger/netatalk/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/} +EXTRACT_SUFX= .tar.bz2 MAINTAINER= markd@NetBSD.org -HOMEPAGE= http://sourceforge.net/projects/netatalk/ +HOMEPAGE= http://netatalk.sourceforge.net/ COMMENT= Netatalk appletalk file and print services GNU_CONFIGURE= YES USE_BUILDLINK3= YES USE_GNU_TOOLS+= make USE_PERL5= YES -USE_LIBTOOL= YES - -USE_PKGINSTALL= YES -INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL +USE_LIBTOOL= YES + +USE_PKGINSTALL= YES +PKG_SYSCONFSUBDIR= netatalk +EG_DIR= ${PREFIX}/share/examples/netatalk +CONF_FILES= ${EG_DIR}/AppleVolumes.default ${PKG_SYSCONFDIR}/AppleVolumes.default \ + ${EG_DIR}/AppleVolumes.system ${PKG_SYSCONFDIR}/AppleVolumes.system \ + ${EG_DIR}/afpd.conf ${PKG_SYSCONFDIR}/afpd.conf \ + ${EG_DIR}/atalkd.conf ${PKG_SYSCONFDIR}/atalkd.conf \ + ${EG_DIR}/netatalk.conf ${PKG_SYSCONFDIR}/netatalk.conf \ + ${EG_DIR}/papd.conf ${PKG_SYSCONFDIR}/papd.conf CONFLICTS= netatalk-asun-[0-9]* netatalk-umich-[0-9]* @@ -26,17 +32,18 @@ RCD_SCRIPTS= atalkd afpd papd timelord .include "../../mk/bsd.prefs.mk" CONFIGURE_ARGS+= --enable-netbsd \ + --enable-overwrite \ + --enable-srvloc \ --enable-timelord \ - --with-did=last \ - --with-tcp-wrappers \ + --libexecdir=${PREFIX}/libexec/netatalk \ --sbindir=${PREFIX}/libexec/netatalk \ - --sysconfdir=${PKG_SYSCONFDIR} \ - --localstatedir=/var/netatalk \ - --with-nls-dir=${PREFIX}/share/netatalk/nls \ - --with-uams-path=${PREFIX}/libexec/netatalk/uams - -#CONFIGURE_ARGS+= --with-flock-locks # broken -#CONFIGURE_ARGS+= --with-bdb=${PREFIX} # still some known issues + --with-pkgconfdir=${PKG_SYSCONFDIR} \ + --localstatedir=${VARBASE}/netatalk \ + --with-uams-path=${PREFIX}/libexec/netatalk/uams \ + --with-bdb=${BUILDLINK_PREFIX.db4} \ + --with-gssapi --enable-krbV-uam +CONFIGURE_ENV+= GSSAPI_LIBS="-lkrb5 -lroken -lasn1 -lcrypto -lcom_err" +LIBS+=-ldes post-patch: mv ${WRKSRC}/etc/psf/etc2ps.sh ${WRKSRC}/etc/psf/etc2ps.sh.tmp @@ -45,15 +52,11 @@ post-patch: 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 "../../databases/db3/buildlink3.mk" -.include "../../devel/rx/buildlink3.mk" + +.include "../../databases/db4/buildlink3.mk" +.include "../../net/openslp/buildlink3.mk" +.include "../../print/cups/buildlink3.mk" +.include "../../security/tcp_wrappers/buildlink3.mk" +.include "../../mk/krb5.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |