diff options
author | jase <jase@FreeBSD.org> | 2012-07-11 19:56:06 +0800 |
---|---|---|
committer | jase <jase@FreeBSD.org> | 2012-07-11 19:56:06 +0800 |
commit | de2fd448991d0db7d29fc22c1915337aeb960d8f (patch) | |
tree | 962d7f728e1fcd572104426110c9efc032185b74 /sysutils/gdisk | |
parent | 57a88fe1cb1ec9cede4e00823c93af6cef02023c (diff) | |
download | freebsd-ports-gnome-de2fd448991d0db7d29fc22c1915337aeb960d8f.tar.gz freebsd-ports-gnome-de2fd448991d0db7d29fc22c1915337aeb960d8f.tar.zst freebsd-ports-gnome-de2fd448991d0db7d29fc22c1915337aeb960d8f.zip |
- Update to 0.8.5 [1]
- Convert to optionsNG
PR: ports/169617 [1]
Submitted by: Dmitry N Fomin <fdn@okbire.ru> (maintainer)
Approved by: flo (mentor)
Diffstat (limited to 'sysutils/gdisk')
-rw-r--r-- | sysutils/gdisk/Makefile | 21 | ||||
-rw-r--r-- | sysutils/gdisk/distinfo | 4 |
2 files changed, 13 insertions, 12 deletions
diff --git a/sysutils/gdisk/Makefile b/sysutils/gdisk/Makefile index 60654872961c..5328680d5595 100644 --- a/sysutils/gdisk/Makefile +++ b/sysutils/gdisk/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gdisk -PORTVERSION= 0.8.2 +PORTVERSION= 0.8.5 CATEGORIES= sysutils MASTER_SITES= SF MASTER_SITE_SUBDIR= gptfdisk/gptfdisk/${PORTVERSION} @@ -27,8 +27,9 @@ FETCH_ARGS= -Rr ONLY_FOR_ARCHS= i386 amd64 -OPTIONS= CGDISK "A curses-based interactive program" off \ - UTF16 "Support for Unicode partition names" off +OPTIONS_DEFINE= CGDISK UTF16 +CGDISK_DESC= A curses-based interactive program +UTF16_DESC= Support for Unicode partition names .include <bsd.port.pre.mk> @@ -41,29 +42,29 @@ MAKEFILE= Makefile.freebsd PROGRAM_LIST= fixparts gdisk sgdisk PLIST_FILES= ${PROGRAM_LIST:C,^,sbin/,} -.if defined(WITH_CGDISK) +.if ${PORT_OPTIONS:MCGDISK} PROGRAM_LIST+= cgdisk LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses .endif +.if ${PORT_OPTIONS:MUTF16} +LIB_DEPENDS+= icuuc.48:${PORTSDIR}/devel/icu +.endif + MAN8= .for i in ${PROGRAM_LIST} MAN8+= ${i}.8 .endfor -.if defined(WITH_UTF16) -LIB_DEPENDS+= icuuc.48:${PORTSDIR}/devel/icu -.endif - post-patch: ${REINPLACE_CMD} -e 's|/usr/include/||' ${WRKSRC}/guid.h ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${MAKEFILE} -.if !defined(WITH_CGDISK) +.if empty(PORT_OPTIONS:MCGDISK) ${REINPLACE_CMD} -e '/^all:/s| cgdisk||' ${WRKSRC}/${MAKEFILE} .endif -.if !defined(WITH_UTF16) +.if empty(PORT_OPTIONS:MUTF16) ${REINPLACE_CMD} -e 's| -D USE_UTF16||' \ -e 's| -licuio||' ${WRKSRC}/${MAKEFILE} .endif diff --git a/sysutils/gdisk/distinfo b/sysutils/gdisk/distinfo index d6e754521239..9e0cb643fd3f 100644 --- a/sysutils/gdisk/distinfo +++ b/sysutils/gdisk/distinfo @@ -1,2 +1,2 @@ -SHA256 (gptfdisk-0.8.2.tar.gz) = b1159027ca459661f04bc3bac8e79381895933ee214c4d6dba49b7d27204e5d3 -SIZE (gptfdisk-0.8.2.tar.gz) = 155914 +SHA256 (gptfdisk-0.8.5.tar.gz) = 15cc691f28212c157e05315662ed6b76ffdcc8de6fc118fa21c81ef5aae84af9 +SIZE (gptfdisk-0.8.5.tar.gz) = 183841 |