aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gpart/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 10:54:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-14 10:54:57 +0000
commit155f07275f594784e9f95649f35f50469ec6450d (patch)
treec9fb6dfbe55be58579591644eb801e41f12eefd6 /sysutils/gpart/Makefile
parent5b409d8e896ce163c2d4aee16ebf3273ad4c4069 (diff)
downloadports-155f07275f594784e9f95649f35f50469ec6450d.tar.gz
ports-155f07275f594784e9f95649f35f50469ec6450d.zip
Notes
Diffstat (limited to 'sysutils/gpart/Makefile')
-rw-r--r--sysutils/gpart/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/gpart/Makefile b/sysutils/gpart/Makefile
new file mode 100644
index 000000000000..75eb4d8b1b53
--- /dev/null
+++ b/sysutils/gpart/Makefile
@@ -0,0 +1,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>