2008-07-06 11:26:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2008/07/06 15:26:14 naddy Exp $
|
2006-08-04 12:34:43 -04:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2006-01-30 21:49:24 -05:00
|
|
|
|
2007-09-29 08:18:06 -04:00
|
|
|
COMMENT= distributed filesystem OpenAFS
|
2006-01-30 21:49:24 -05:00
|
|
|
|
2007-09-29 08:18:06 -04:00
|
|
|
V= 1.4.0
|
|
|
|
DISTNAME= openafs-${V}-src
|
2008-07-06 11:26:14 -04:00
|
|
|
PKGNAME= openafs-${V}p9
|
2006-01-30 21:49:24 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.openafs.org
|
|
|
|
|
2007-02-19 16:09:10 -05:00
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
2006-01-30 21:49:24 -05:00
|
|
|
|
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-08-04 12:34:43 -04:00
|
|
|
WANTLIB= c pthread
|
2006-02-01 22:21:57 -05:00
|
|
|
|
2007-09-29 08:18:06 -04:00
|
|
|
MASTER_SITES= http://www.openafs.org/dl/openafs/${V}/
|
2006-01-30 21:49:24 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.13
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-namei-fileserver \
|
|
|
|
--enable-largefile-fileserver \
|
|
|
|
--enable-supergroups \
|
2007-09-24 15:36:49 -04:00
|
|
|
--with-afs-sysname=${ARCH}_obsd${OSrev} \
|
|
|
|
--disable-kernel-module
|
2006-02-17 21:05:49 -05:00
|
|
|
|
2006-02-07 08:41:52 -05:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/-src$//}
|
2006-01-30 21:49:24 -05:00
|
|
|
|
2006-08-04 12:34:43 -04:00
|
|
|
post-patch:
|
2007-09-24 15:36:49 -04:00
|
|
|
@sed 's/%OSrev%/'${OSrev}'/g' ${FILESDIR}/param.i386_obsd.h \
|
|
|
|
> ${WRKSRC}/src/config/param.${ARCH}_obsd${OSrev}.h
|
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
|
2007-09-29 08:18:06 -04:00
|
|
|
@sed -e s,%PREFIX%,${PREFIX},g -e s,%SYSCONFDIR%,${SYSCONFDIR},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>
|