1999-12-14 21:54:39 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 1999/12/15 02:54:39 kevlo Exp $
|
1999-01-18 23:40:13 -05:00
|
|
|
|
1999-12-14 21:54:39 -05:00
|
|
|
DISTNAME= netatalk-990130
|
1999-05-23 22:33:58 -04:00
|
|
|
CATEGORIES= net
|
1999-01-18 23:40:13 -05:00
|
|
|
MASTER_SITES= ftp://terminator.rs.itd.umich.edu/unix/netatalk/
|
|
|
|
|
|
|
|
MAINTAINER= ianm@cit.nepean.uws.edu.au
|
|
|
|
|
|
|
|
# NOTES:
|
|
|
|
# Will compile with kerberos support in apfd and papd.
|
|
|
|
# Haven't tested kerberos support as there is no MacOS
|
|
|
|
# support for kerberos outside the US, so your on your
|
|
|
|
# own. Still need to add support for AFS. Will update
|
1999-05-24 23:00:45 -04:00
|
|
|
# the Port shortly.
|
1999-01-18 23:40:13 -05:00
|
|
|
|
1999-05-25 01:23:12 -04:00
|
|
|
pre-fetch:
|
1999-08-28 06:27:10 -04:00
|
|
|
.if !defined(NO_WARNINGS)
|
1999-05-25 01:23:12 -04:00
|
|
|
@if [ ! -f /usr/src/sys/netatalk/at_extern.h ]; then \
|
|
|
|
${ECHO} This port requires the kernel source code to compile properly,; \
|
|
|
|
${ECHO} specifically the source code in /usr/src/sys/netatalk; \
|
|
|
|
${FALSE}; \
|
|
|
|
fi
|
1999-08-28 06:27:10 -04:00
|
|
|
.endif
|
|
|
|
|
1999-05-25 01:23:12 -04:00
|
|
|
|
1999-01-18 23:40:13 -05:00
|
|
|
pre-configure:
|
1999-05-25 01:23:12 -04:00
|
|
|
@${RM} -rf ${WRKSRC}/include/netatalk
|
|
|
|
@${LN} -sf /usr/src/sys/netatalk ${WRKSRC}/include/netatalk
|
|
|
|
@${RM} -f ${WRKSRC}/sys/netatalk/*.h
|
1999-01-18 23:40:13 -05:00
|
|
|
|
|
|
|
post-install:
|
1999-05-25 10:39:42 -04:00
|
|
|
@${CP} ${WRKSRC}/config/AppleVolumes.system ${PREFIX}/lib/netatalk
|
|
|
|
@${CP} ${WRKSRC}/config/AppleVolumes.default ${PREFIX}/lib/netatalk
|
|
|
|
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
1999-01-18 23:40:13 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|