blob: 740f779dc6effb35ef0d8ab9ea2ade65b87b745c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# 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
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.cgsecurity.org/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-rc/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities and library to manipulate ReiserFS partitions
BROKEN= Leaves behind lib/charset.alias instead of correctly using gettext
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2005-09-22
GNU_CONFIGURE= yes
USE_GETOPT_LONG=yes
USE_LIBTOOL_VER=15
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-debug
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
.else
USE_GETTEXT= yes
.endif
MAN8= cpfs.reiserfs.8 mkfs.reiserfs.8 reiserfs.8 \
resizefs.reiserfs.8 tunefs.reiserfs.8
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
.if ${OSVERSION} >= 500041
CFLAGS+= -Dgetopt_long_only=getopt_long
EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
.endif
post-patch:
@${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/*
.include <bsd.port.post.mk>
|