summaryrefslogtreecommitdiff
path: root/sysutils/gpart/Makefile
blob: 6cfe788372bd62c9da9ff0ceb78bf0538c909df5 (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
# 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

NO_STAGE=	yes
.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>