# New ports collection makefile for:	gpart
# Date created:		29 Sep 1999
# Whom:			Andrew Stevenson <andrew@ugh.net.au>
#
# $FreeBSD: ports/sysutils/gpart/Makefile,v 1.13 2006/06/14 08:15:13 linimon Exp $
#

PORTNAME=	gpart
PORTVERSION=	0.1h
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	system/filesystems

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tries to recover lost partition tables and file systems

USE_GMAKE=	yes
MAN8=		gpart.8
PLIST_FILES=	sbin/gpart

.if defined(WANT_STATIC)
MAKE_ARGS+= LDFLAGS=-static
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386" && ${ARCH} != "alpha"
BROKEN=		"Does not compile on !i386 and !alpha"
.endif

.include <bsd.port.post.mk>


syntax highlighted by Code2HTML, v. 0.9.1