30f9923cc4
PR pkg/21341. From "NEWS": Changes in 1.6.2 ================ * FIX: atalkd: Fixes for reading long configuration file lines. [Dan Wilga] * FIX: afpd: CNID id allocation in a multiuser environment. * FIX: papd: Fix PSSP support when PAM is enabled. * FIX: macusers: Can now cope with IP addresses as well as host names. * FIX: etc2ps.sh: Install correctly.
57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2003/04/28 04:07:45 fredb Exp $
|
|
|
|
DISTNAME= netatalk-1.6.2
|
|
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_BUILDLINK2= YES
|
|
USE_GMAKE= YES
|
|
USE_PERL5= YES
|
|
USE_LIBTOOL= YES
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
|
|
|
CONFLICTS= netatalk-asun-[0-9]* netatalk-umich-[0-9]*
|
|
|
|
RCD_SCRIPTS= atalkd afpd papd timelord
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-netbsd \
|
|
--enable-timelord \
|
|
--with-did=last \
|
|
--with-tcp-wrappers \
|
|
--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
|
|
|
|
post-patch:
|
|
mv ${WRKSRC}/etc/psf/etc2ps.sh ${WRKSRC}/etc/psf/etc2ps.sh.tmp
|
|
${SED} -e "s,^\(DVIPS=\)\(/usr/local/tex\)\(/bin\),\1${PREFIX}\3," \
|
|
< ${WRKSRC}/etc/psf/etc2ps.sh.tmp > ${WRKSRC}/etc/psf/etc2ps.sh
|
|
|
|
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/buildlink2.mk"
|
|
.include "../../devel/rx/buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.install.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|