summaryrefslogtreecommitdiff
path: root/sysutils/gpart/Makefile
blob: 75eb4d8b1b535350694e6211a4fc4686987b03f1 (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
# Created by: Andrew Stevenson <andrew@ugh.net.au>
# $FreeBSD$

PORTNAME=	gpart
PORTVERSION=	0.1h
PORTREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	SUNSITE/system/filesystems \
		http://mirror.amdmi3.ru/distfiles/

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

LICENSE=	GPLv2

USES=		gmake
MAN8=		gpart.8
PLIST_FILES=	sbin/gpart
CFLAGS+=	-std=c99

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

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386" && ${ARCH} != "alpha" && ${ARCH} != "amd64"
BROKEN=		Only compiles on i386, amd64 and alpha.
.endif

.include <bsd.port.post.mk>