summaryrefslogtreecommitdiffstats
path: root/sysutils/linuxfdisk/Makefile
blob: b542edbce7ebcb680291e8a93f883ad73d505fd4 (plain)
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
# New ports collection makefile for:	linuxfdisk
# Date created:		Mon Jun 16 14:52:38 UTC 2003
# Whom:			netch@netch.kiev.ua
#
# $FreeBSD$
#

PORTNAME=	linuxfdisk
PORTVERSION=	2.11z
CATEGORIES=	sysutils
MASTER_SITES=	ftp://ftp.kernel.org/pub/linux/utils/util-linux/ \
		ftp://ftp.kernel.org/pub/linux/utils/util-linux/old/ \
		ftp://segfault.kiev.ua/pub/
DISTNAME=	util-linux-${PORTVERSION}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	netch@netch.kiev.ua
COMMENT=	Fdisk, a partition tables manipulator, from util-linux

WRKSRC=		${WRKDIR}/util-linux-${PORTVERSION}/fdisk
USE_BZIP2=	yes
MAN8=		fdisk-linux.8 cfdisk-linux.8 sfdisk-linux.8
ONLY_FOR_ARCHS=	i386 amd64

pre-patch:
	@rm -f ${WRKSRC}/Makefile
	@cp ${FILESDIR}/linuxfdisk-Makefile ${WRKSRC}/Makefile
	@cp ${FILESDIR}/linuxfdisk-sys_bsd.c ${WRKSRC}/sys_bsd.c

.include <bsd.port.mk>
OpenPOWER on IntegriCloud