blob: 5a9f11df8d91f1d47191ba302f2ec43aeace23b0 (
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
|
# Created by: Craig Rodrigues <rodrigc@FreeBSD.org>
# $FreeBSD$
PORTNAME= xfsprogs
PORTVERSION= 2.9.4
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ftp://oss.sgi.com/projects/xfs/cmd_tars/ \
ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= -1.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of utilities and library to manipulate an xfs filesystem
USE_GMAKE= yes
USES= gettext
USE_AUTOTOOLS= autoconf libtool:env
GNU_CONFIGURE= yes
CONFIGURE_ENV+= INSTALL="${INSTALL} ${_BINOWNGRP}" \
LIBTOOL=${LIBTOOL}
MAKE_ENV+= INSTALL="${INSTALL} ${_BINOWNGRP}"
CONFIGURE_ARGS+= --disable-shared --enable-readline
ALL_TARGET=
MAN5= xfs.5
MAN8= fsck.xfs.8 mkfs.xfs.8 xfs_admin.8 xfs_bmap.8 xfs_check.8 \
xfs_copy.8 xfs_db.8 xfs_freeze.8 xfs_growfs.8 xfs_info.8 \
xfs_io.8 xfs_logprint.8 xfs_mdrestore.8 xfs_metadump.8 xfs_mkfile.8 xfs_ncheck.8 \
xfs_quota.8 xfs_repair.8 xfs_rtcp.8
.include <bsd.port.pre.mk>
post-extract:
${LN} -sf ${WRKDIR}/${PORTNAME}-${PORTVERSION} ${WRKSRC}
${REINPLACE_CMD} -e '/utmp/d' \
${WRKSRC}/quota/report.c ${WRKSRC}/quota/util.c
pre-configure:
${RM} -f ${WRKSRC}/configure
post-configure:
${FIND} ${WRKSRC}/include -name "builddefs" | ${XARGS} ${REINPLACE_CMD} -e \
's|LIBRT =|LIBRT = -lrt|g'
post-patch:
${FIND} ${WRKDIR} -name "*.m4" | ${XARGS} ${REINPLACE_CMD} -e \
's|/usr/local|'${LOCALBASE}'|g'
.ifdef NOPORTDOCS
@${REINPLACE_CMD} -e 's/doc//' -e '/PKG_DOC_DIR/d' ${WRKSRC}/Makefile
.endif
.include <bsd.port.post.mk>
|