Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= xfsprogs |
4 |
PORTNAME= xfsprogs |
5 |
PORTVERSION= 2.9.4 |
5 |
PORTVERSION= 2.9.8 |
6 |
PORTREVISION= 3 |
|
|
7 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
8 |
MASTER_SITES= ftp://oss.sgi.com/projects/xfs/cmd_tars/ \ |
7 |
MASTER_SITES= ftp://oss.sgi.com/projects/xfs/cmd_tars/ \ |
9 |
ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/ |
8 |
ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/ |
Lines 13-18
Link Here
|
13 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= A set of utilities and library to manipulate an xfs filesystem |
13 |
COMMENT= A set of utilities and library to manipulate an xfs filesystem |
15 |
|
14 |
|
|
|
15 |
LICENSE= GPLv2 |
16 |
|
16 |
USE_GMAKE= yes |
17 |
USE_GMAKE= yes |
17 |
USES= gettext |
18 |
USES= gettext |
18 |
USE_AUTOTOOLS= autoconf libtool:env |
19 |
USE_AUTOTOOLS= autoconf libtool:env |
Lines 23-41
Link Here
|
23 |
CONFIGURE_ARGS+= --disable-shared --enable-readline |
24 |
CONFIGURE_ARGS+= --disable-shared --enable-readline |
24 |
ALL_TARGET= |
25 |
ALL_TARGET= |
25 |
|
26 |
|
|
|
27 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
28 |
|
26 |
MAN5= xfs.5 |
29 |
MAN5= xfs.5 |
27 |
MAN8= fsck.xfs.8 mkfs.xfs.8 xfs_admin.8 xfs_bmap.8 xfs_check.8 \ |
30 |
MAN8= fsck.xfs.8 mkfs.xfs.8 xfs_admin.8 xfs_bmap.8 xfs_check.8 \ |
28 |
xfs_copy.8 xfs_db.8 xfs_freeze.8 xfs_growfs.8 xfs_info.8 \ |
31 |
xfs_copy.8 xfs_db.8 xfs_freeze.8 xfs_growfs.8 xfs_info.8 \ |
29 |
xfs_io.8 xfs_logprint.8 xfs_mdrestore.8 xfs_metadump.8 xfs_mkfile.8 xfs_ncheck.8 \ |
32 |
xfs_io.8 xfs_logprint.8 xfs_mdrestore.8 xfs_metadump.8 xfs_mkfile.8 xfs_ncheck.8 \ |
30 |
xfs_quota.8 xfs_repair.8 xfs_rtcp.8 |
33 |
xfs_quota.8 xfs_repair.8 xfs_rtcp.8 |
31 |
|
34 |
|
32 |
.include <bsd.port.pre.mk> |
|
|
33 |
|
34 |
post-extract: |
35 |
post-extract: |
35 |
${LN} -sf ${WRKDIR}/${PORTNAME}-${PORTVERSION} ${WRKSRC} |
|
|
36 |
${REINPLACE_CMD} -e '/utmp/d' \ |
36 |
${REINPLACE_CMD} -e '/utmp/d' \ |
37 |
${WRKSRC}/quota/report.c ${WRKSRC}/quota/util.c |
37 |
${WRKSRC}/quota/report.c ${WRKSRC}/quota/util.c |
38 |
|
38 |
|
|
|
39 |
post-patch: |
40 |
${FIND} ${WRKDIR} -name "*.m4" | ${XARGS} ${REINPLACE_CMD} -e \ |
41 |
's|/usr/local|'${LOCALBASE}'|g' |
42 |
.ifdef NOPORTDOCS |
43 |
@${REINPLACE_CMD} -e 's/doc//' -e '/PKG_DOC_DIR/d' ${WRKSRC}/Makefile |
44 |
.endif |
45 |
|
39 |
pre-configure: |
46 |
pre-configure: |
40 |
${RM} -f ${WRKSRC}/configure |
47 |
${RM} -f ${WRKSRC}/configure |
41 |
|
48 |
|
Lines 43-53
Link Here
|
43 |
${FIND} ${WRKSRC}/include -name "builddefs" | ${XARGS} ${REINPLACE_CMD} -e \ |
50 |
${FIND} ${WRKSRC}/include -name "builddefs" | ${XARGS} ${REINPLACE_CMD} -e \ |
44 |
's|LIBRT =|LIBRT = -lrt|g' |
51 |
's|LIBRT =|LIBRT = -lrt|g' |
45 |
|
52 |
|
46 |
post-patch: |
53 |
.include <bsd.port.mk> |
47 |
${FIND} ${WRKDIR} -name "*.m4" | ${XARGS} ${REINPLACE_CMD} -e \ |
|
|
48 |
's|/usr/local|'${LOCALBASE}'|g' |
49 |
.ifdef NOPORTDOCS |
50 |
@${REINPLACE_CMD} -e 's/doc//' -e '/PKG_DOC_DIR/d' ${WRKSRC}/Makefile |
51 |
.endif |
52 |
|
53 |
.include <bsd.port.post.mk> |