2006-02-17 21:05:49 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2006/02/18 02:05:49 todd Exp $
|
2006-01-30 21:49:24 -05:00
|
|
|
|
2006-02-06 07:39:24 -05:00
|
|
|
COMMENT= "Distributed filesystem OpenAFS"
|
2006-01-30 21:49:24 -05:00
|
|
|
|
|
|
|
DISTNAME= openafs-1.4.0-src
|
2006-02-17 21:05:49 -05:00
|
|
|
PKGNAME= openafs-1.4.0p4
|
2006-01-30 21:49:24 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.openafs.org
|
|
|
|
|
2006-02-06 07:39:24 -05:00
|
|
|
MAINTAINER= Jaime Fournier <ober@linbsd.org>
|
2006-01-30 21:49:24 -05:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2006-02-06 07:39:24 -05:00
|
|
|
# IPL
|
2006-01-30 21:49:24 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-02-01 22:21:57 -05:00
|
|
|
WANTLIB= c pthread
|
|
|
|
|
2006-01-30 21:49:24 -05:00
|
|
|
MASTER_SITES= http://www.openafs.org/dl/openafs/1.4.0/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.13
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-namei-fileserver \
|
|
|
|
--enable-largefile-fileserver \
|
|
|
|
--enable-supergroups \
|
2006-02-17 21:05:49 -05:00
|
|
|
--with-afs-sysname=${ARCH}_obsd${OSrev}
|
|
|
|
|
2006-02-07 08:41:52 -05:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/-src$//}
|
2006-01-30 21:49:24 -05:00
|
|
|
|
2006-02-06 07:39:24 -05:00
|
|
|
pre-configure:
|
|
|
|
@if [ ! -d /usr/src/sys ]; then \
|
|
|
|
echo ""; \
|
|
|
|
echo "*** Error: Building this package requires the"; \
|
|
|
|
echo "*** kernel sources to be available under /usr/src/sys"; \
|
|
|
|
echo ""; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
2006-02-01 21:10:11 -05:00
|
|
|
|
2006-01-30 21:49:24 -05:00
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/
|
|
|
|
.for file in openafs-setup
|
|
|
|
@sed s,%LOCALBASE%,${LOCALBASE},g < ${FILESDIR}/${file} > \
|
|
|
|
${PREFIX}/sbin/${file}
|
2006-02-01 21:10:11 -05:00
|
|
|
@chmod u+x ${PREFIX}/sbin/${file}
|
2006-01-30 21:49:24 -05:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|