aboutsummaryrefslogtreecommitdiff
path: root/sysutils/linuxfdisk/Makefile
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-18 06:24:46 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-18 06:24:46 +0000
commitaf2d4212e16d8290523b7f4846cb98d3d9c4184a (patch)
tree02fb3f1615dda637d318cc3219f475436e64c3cf /sysutils/linuxfdisk/Makefile
parentf9c9d1ae00db4c7618dd37312f57a9c252c7a539 (diff)
downloadports-af2d4212e16d8290523b7f4846cb98d3d9c4184a.tar.gz
ports-af2d4212e16d8290523b7f4846cb98d3d9c4184a.zip
Notes
Diffstat (limited to 'sysutils/linuxfdisk/Makefile')
-rw-r--r--sysutils/linuxfdisk/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/linuxfdisk/Makefile b/sysutils/linuxfdisk/Makefile
new file mode 100644
index 000000000000..c45b340db768
--- /dev/null
+++ b/sysutils/linuxfdisk/Makefile
@@ -0,0 +1,31 @@
+# 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/
+DISTNAME= util-linux-${PORTVERSION}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= netch@netch.kiev.ua
+COMMENT= Fdisk, a partition tables manipulator, from util-linux
+
+WRKSRC= ${WRKDIR}/linuxfdisk-${PORTVERSION}
+USE_BZIP2= yes
+MAN8= linuxfdisk.8
+
+post-extract:
+ @cd ${WRKDIR} && ${LN} -sf util-linux-${PORTVERSION}/fdisk linuxfdisk-${PORTVERSION}
+
+pre-patch:
+ @rm -f ${WRKSRC}/Makefile
+ @cp ${FILESDIR}/linuxfdisk-Makefile ${WRKSRC}/Makefile
+ @cp ${FILESDIR}/linuxfdisk-sys_bsd.c ${WRKSRC}/sys_bsd.c
+ @cp -p ${WRKSRC}/fdisk.8 ${WRKSRC}/linuxfdisk.8
+
+.include <bsd.port.mk>