Add progsreiserfs, a library for reiserfs filesystem access and manipulation.
For now progsreiserfs consists of:
1. libreiserfs, which have a number of high level APIs for access reiserfs
filesystem. There are: main filesystem code (reiserfs_fs_open, reiserfs_fs_close,
resierfs_fs_create, reiserfs_fs_resize, reiserfs_fs_journal_tune, etc), journal
code, bitmap code, directories and files access code and device abstraction layer.
2. fouth progs which are simple frontends to libreiserfs. There are: mkfs.reiserfs,
resizefs.reiserfs, cpfs.reiserfs, tunefs.reiserfs.
PR: ports/66590
Submitted by: Florent Thoumie <flz@xbsd.org>
2004-05-14 15:49:39 +00:00
|
|
|
# New ports collection makefile for: progsreiserfs
|
|
|
|
# Date created: May 13 2004
|
|
|
|
# Whom: Florent Thoumie <flz@xbsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= progsreiserfs
|
|
|
|
PORTVERSION= 0.3.1.r8
|
2004-09-01 14:59:58 +00:00
|
|
|
PORTREVISION= 1
|
Add progsreiserfs, a library for reiserfs filesystem access and manipulation.
For now progsreiserfs consists of:
1. libreiserfs, which have a number of high level APIs for access reiserfs
filesystem. There are: main filesystem code (reiserfs_fs_open, reiserfs_fs_close,
resierfs_fs_create, reiserfs_fs_resize, reiserfs_fs_journal_tune, etc), journal
code, bitmap code, directories and files access code and device abstraction layer.
2. fouth progs which are simple frontends to libreiserfs. There are: mkfs.reiserfs,
resizefs.reiserfs, cpfs.reiserfs, tunefs.reiserfs.
PR: ports/66590
Submitted by: Florent Thoumie <flz@xbsd.org>
2004-05-14 15:49:39 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.cgsecurity.org/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
|
|
|
|
|
2004-07-21 19:39:07 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
Add progsreiserfs, a library for reiserfs filesystem access and manipulation.
For now progsreiserfs consists of:
1. libreiserfs, which have a number of high level APIs for access reiserfs
filesystem. There are: main filesystem code (reiserfs_fs_open, reiserfs_fs_close,
resierfs_fs_create, reiserfs_fs_resize, reiserfs_fs_journal_tune, etc), journal
code, bitmap code, directories and files access code and device abstraction layer.
2. fouth progs which are simple frontends to libreiserfs. There are: mkfs.reiserfs,
resizefs.reiserfs, cpfs.reiserfs, tunefs.reiserfs.
PR: ports/66590
Submitted by: Florent Thoumie <flz@xbsd.org>
2004-05-14 15:49:39 +00:00
|
|
|
COMMENT= Utilities and library to manipulate ReiserFS partitions
|
|
|
|
|
2005-02-12 00:49:04 +00:00
|
|
|
BROKEN= Leaves behind lib/charset.alias instead of correctly using gettext
|
|
|
|
|
Add progsreiserfs, a library for reiserfs filesystem access and manipulation.
For now progsreiserfs consists of:
1. libreiserfs, which have a number of high level APIs for access reiserfs
filesystem. There are: main filesystem code (reiserfs_fs_open, reiserfs_fs_close,
resierfs_fs_create, reiserfs_fs_resize, reiserfs_fs_journal_tune, etc), journal
code, bitmap code, directories and files access code and device abstraction layer.
2. fouth progs which are simple frontends to libreiserfs. There are: mkfs.reiserfs,
resizefs.reiserfs, cpfs.reiserfs, tunefs.reiserfs.
PR: ports/66590
Submitted by: Florent Thoumie <flz@xbsd.org>
2004-05-14 15:49:39 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-09-01 14:59:58 +00:00
|
|
|
USE_GETOPT_LONG=yes
|
|
|
|
USE_LIBTOOL_VER=15
|
Add progsreiserfs, a library for reiserfs filesystem access and manipulation.
For now progsreiserfs consists of:
1. libreiserfs, which have a number of high level APIs for access reiserfs
filesystem. There are: main filesystem code (reiserfs_fs_open, reiserfs_fs_close,
resierfs_fs_create, reiserfs_fs_resize, reiserfs_fs_journal_tune, etc), journal
code, bitmap code, directories and files access code and device abstraction layer.
2. fouth progs which are simple frontends to libreiserfs. There are: mkfs.reiserfs,
resizefs.reiserfs, cpfs.reiserfs, tunefs.reiserfs.
PR: ports/66590
Submitted by: Florent Thoumie <flz@xbsd.org>
2004-05-14 15:49:39 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-05-22 11:09:08 +00:00
|
|
|
USE_REINPLACE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-07-21 19:39:07 +00:00
|
|
|
CONFIGURE_ARGS= --disable-debug
|
Add progsreiserfs, a library for reiserfs filesystem access and manipulation.
For now progsreiserfs consists of:
1. libreiserfs, which have a number of high level APIs for access reiserfs
filesystem. There are: main filesystem code (reiserfs_fs_open, reiserfs_fs_close,
resierfs_fs_create, reiserfs_fs_resize, reiserfs_fs_journal_tune, etc), journal
code, bitmap code, directories and files access code and device abstraction layer.
2. fouth progs which are simple frontends to libreiserfs. There are: mkfs.reiserfs,
resizefs.reiserfs, cpfs.reiserfs, tunefs.reiserfs.
PR: ports/66590
Submitted by: Florent Thoumie <flz@xbsd.org>
2004-05-14 15:49:39 +00:00
|
|
|
|
2004-09-01 14:59:58 +00:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
.endif
|
|
|
|
|
Add progsreiserfs, a library for reiserfs filesystem access and manipulation.
For now progsreiserfs consists of:
1. libreiserfs, which have a number of high level APIs for access reiserfs
filesystem. There are: main filesystem code (reiserfs_fs_open, reiserfs_fs_close,
resierfs_fs_create, reiserfs_fs_resize, reiserfs_fs_journal_tune, etc), journal
code, bitmap code, directories and files access code and device abstraction layer.
2. fouth progs which are simple frontends to libreiserfs. There are: mkfs.reiserfs,
resizefs.reiserfs, cpfs.reiserfs, tunefs.reiserfs.
PR: ports/66590
Submitted by: Florent Thoumie <flz@xbsd.org>
2004-05-14 15:49:39 +00:00
|
|
|
MAN8= cpfs.reiserfs.8 mkfs.reiserfs.8 reiserfs.8 \
|
|
|
|
resizefs.reiserfs.8 tunefs.reiserfs.8
|
|
|
|
|
2004-09-01 14:59:58 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-11-18 08:28:30 +00:00
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
BROKEN= "Does not compile on !i386"
|
|
|
|
.endif
|
|
|
|
|
2004-09-01 14:59:58 +00:00
|
|
|
.if ${OSVERSION} >= 500041
|
|
|
|
CFLAGS+= -Dgetopt_long_only=getopt_long
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2004-05-22 11:09:08 +00:00
|
|
|
post-patch:
|
2004-09-01 14:59:58 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|^LIBTOOL=.*|LIBTOOL=${LIBTOOL}|g' \
|
|
|
|
${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
@${REINPLACE_CMD} -e 's|sys/int_types.h|inttypes.h|' \
|
|
|
|
${WRKSRC}/libreiserfs/tools.c ${WRKSRC}/include/reiserfs/*
|
2004-05-22 11:09:08 +00:00
|
|
|
|
2004-09-01 14:59:58 +00:00
|
|
|
.include <bsd.port.post.mk>
|