aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gdisk
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-08-11 21:36:22 +0800
committerbsam <bsam@FreeBSD.org>2013-08-11 21:36:22 +0800
commita0e574d927376a2199990e1c6b4b31479a6f7879 (patch)
treeb5067b338422a003282df8892ace427488b70162 /sysutils/gdisk
parentb2abe85812d0f7f080fa9f6e6a287cb80e64e472 (diff)
downloadfreebsd-ports-gnome-a0e574d927376a2199990e1c6b4b31479a6f7879.tar.gz
freebsd-ports-gnome-a0e574d927376a2199990e1c6b4b31479a6f7879.tar.zst
freebsd-ports-gnome-a0e574d927376a2199990e1c6b4b31479a6f7879.zip
. update to version 0.8.6;
. use one line MASTER_SITES with MASTER_SITE_SUBDIR; . use new LIB_DEPENDS syntax; . remove check for unsupported 7.x; . use bsd.port.options.mk instead of bsd.port.pre.mk; . empty(OPT) -> ! ${OPT}; . part PKGMESSAGE by space lines. PR: ports/180345 (based on, some changes has been committed by zi) Submitted by: bsam (me) Approved by: maintainer has been switched to ports@
Diffstat (limited to 'sysutils/gdisk')
-rw-r--r--sysutils/gdisk/Makefile29
-rw-r--r--sysutils/gdisk/distinfo4
2 files changed, 15 insertions, 18 deletions
diff --git a/sysutils/gdisk/Makefile b/sysutils/gdisk/Makefile
index d7ace71970eb..31002bb752a2 100644
--- a/sysutils/gdisk/Makefile
+++ b/sysutils/gdisk/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= gdisk
-PORTVERSION= 0.8.5
+PORTVERSION= 0.8.6
CATEGORIES= sysutils
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= gptfdisk/gptfdisk/${PORTVERSION}
+MASTER_SITES= SF/gptfdisk/gptfdisk/${PORTVERSION}
DISTNAME= gptfdisk-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -14,8 +13,8 @@ COMMENT= GPT fdisk
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
- popt:${PORTSDIR}/devel/popt
+LIB_DEPENDS= libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
+ libpopt.so:${PORTSDIR}/devel/popt
WRKSRC= ${WRKDIR}/gptfdisk-${PORTVERSION}
@@ -27,24 +26,20 @@ OPTIONS_DEFINE= CGDISK UTF16
CGDISK_DESC= A curses-based interactive program
UTF16_DESC= Support for Unicode partition names
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 701100
-IGNORE= is unsupported on FreeBSD 7.1-RELEASE or earlier
-.endif
-
MAKEFILE= Makefile.freebsd
PROGRAM_LIST= fixparts gdisk sgdisk
PLIST_FILES= ${PROGRAM_LIST:C,^,sbin/,}
+.include <bsd.port.options.mk>
+
.if ${PORT_OPTIONS:MCGDISK}
PROGRAM_LIST+= cgdisk
-LIB_DEPENDS+= ncurses:${PORTSDIR}/devel/ncurses
+LIB_DEPENDS+= libncurses.so:${PORTSDIR}/devel/ncurses
.endif
.if ${PORT_OPTIONS:MUTF16}
-LIB_DEPENDS+= icuuc:${PORTSDIR}/devel/icu
+LIB_DEPENDS+= libicuuc.so:${PORTSDIR}/devel/icu
.endif
MAN8=
@@ -56,11 +51,11 @@ post-patch:
${REINPLACE_CMD} -e 's|/usr/include/||' ${WRKSRC}/guid.h
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${MAKEFILE}
-.if empty(PORT_OPTIONS:MCGDISK)
+.if ! ${PORT_OPTIONS:MCGDISK}
${REINPLACE_CMD} -e '/^all:/s| cgdisk||' ${WRKSRC}/${MAKEFILE}
.endif
-.if empty(PORT_OPTIONS:MUTF16)
+.if ! ${PORT_OPTIONS:MUTF16}
${REINPLACE_CMD} -e 's| -D USE_UTF16||' \
-e 's| -licuio||' ${WRKSRC}/${MAKEFILE}
.endif
@@ -72,6 +67,8 @@ do-install:
.endfor
post-install:
+ @${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/gdisk/distinfo b/sysutils/gdisk/distinfo
index 9e0cb643fd3f..98b51d1cd529 100644
--- a/sysutils/gdisk/distinfo
+++ b/sysutils/gdisk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gptfdisk-0.8.5.tar.gz) = 15cc691f28212c157e05315662ed6b76ffdcc8de6fc118fa21c81ef5aae84af9
-SIZE (gptfdisk-0.8.5.tar.gz) = 183841
+SHA256 (gptfdisk-0.8.6.tar.gz) = 4579cd54842459699970e24720dda7fb0aa217027818623089c321bc62a647b2
+SIZE (gptfdisk-0.8.6.tar.gz) = 184686