freebsd-ports/sysutils/xfsprogs/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

53 lines
1.4 KiB
Makefile

# New ports collection makefile for: xfsprogs
# Date created: Wed Jun 1 21:48:59 EDT 2005
# Whom: Craig Rodrigues <rodrigc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xfsprogs
PORTVERSION= 2.7.3
CATEGORIES= sysutils
MASTER_SITES= ftp://oss.sgi.com/projects/xfs/cmd_tars/
DISTNAME= ${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= rodrigc@FreeBSD.ORG
COMMENT= A set of utilities and library to manipulate an xfs filesystem
USE_REINPLACE= yes
USE_GMAKE= yes
USE_GETTEXT= yes
USE_AUTOTOOLS= autoconf:259 libtool:15:env
GNU_CONFIGURE= yes
CONFIGURE_ENV+= INSTALL="${INSTALL} ${_BINOWNGRP}" \
CFLAGS="${CFLAGS}" \
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_mkfile.8 xfs_ncheck.8 xfs_quota.8 \
xfs_repair.8 xfs_rtcp.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
pre-configure:
${RM} -f ${WRKSRC}/configure
post-configure:
${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g'
post-patch:
${FIND} ${WRKDIR} -name "*.m4" | ${XARGS} ${REINPLACE_CMD} -e \
's|/usr/local|'${LOCALBASE}'|g'
.include <bsd.port.post.mk>