summaryrefslogtreecommitdiffstats
path: root/extras/FreeBSD/Makefile
diff options
context:
space:
mode:
authorHarshavardhana <harsha@zresearch.com>2009-04-07 00:43:23 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-08 15:06:56 +0530
commit8123c907015e6ad6e2975ba77eadd4db32e08628 (patch)
tree5347548b50768e0322e1aefd17c3479f71ce5c53 /extras/FreeBSD/Makefile
parentb976536e616e6dd23dd4a3981d150b168f9d2bef (diff)
Commit package making files for FreeBSD and Solaris platform.
Commit for package making related files for FreeBSD and Solaris. These files are supposed to be in repository to not loose track and update them as needed. I will update them soon for upcoming release where we support Solaris on ib fabric also. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'extras/FreeBSD/Makefile')
-rw-r--r--extras/FreeBSD/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/extras/FreeBSD/Makefile b/extras/FreeBSD/Makefile
new file mode 100644
index 00000000000..c662b9c65bd
--- /dev/null
+++ b/extras/FreeBSD/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: glusterfs
+# Date created: 13 January 2009
+# Whom: Harshavardhana
+#
+# $FreeBSD$
+#
+
+PORTNAME= glusterfs
+DISTVERSION= 2.0.0rc1
+PORTVERSION= 2.0.0rc1
+PORTREVISION= 1
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.zresearch.com/pub/gluster/glusterfs/2.0/2.0.0/ \
+ http://europe.gluster.org/glusterfs/2.0/2.0.0/
+
+MAINTAINER= harsha@zresearch.com
+COMMENT= GlusterFS is a clustered file-system
+
+BUILD_DEPENDS= fusefs-libs>2.6.3:${PORTSDIR}/sysutils/fusefs-libs
+LIB_DEPENDS= fuse.2:${PORTSDIR}/sysutils/fusefs-libs
+RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
+
+MAN8= glusterfs.8
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+IGNORE= requires FreeBSD 7 or above
+.endif
+
+.include <bsd.port.post.mk>