Index: head/sysutils/gdisk/Makefile =================================================================== --- head/sysutils/gdisk/Makefile (revision 300764) +++ head/sysutils/gdisk/Makefile (revision 300765) @@ -1,80 +1,81 @@ # New ports collection makefile for: gdisk # Date created: 12 July 2010 # Whom: Dmitry N Fomin # # $FreeBSD$ # PORTNAME= gdisk -PORTVERSION= 0.8.2 +PORTVERSION= 0.8.5 CATEGORIES= sysutils MASTER_SITES= SF MASTER_SITE_SUBDIR= gptfdisk/gptfdisk/${PORTVERSION} DISTNAME= gptfdisk-${PORTVERSION} MAINTAINER= fdn@okbire.ru COMMENT= GPT fdisk LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \ popt.0:${PORTSDIR}/devel/popt WRKSRC= ${WRKDIR}/gptfdisk-${PORTVERSION} 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 .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/,} -.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 do-install: .for i in ${PROGRAM_LIST} ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/${i}.8 ${MAN8PREFIX}/man/man8 .endfor post-install: @${CAT} ${PKGMESSAGE} .include Property changes on: head/sysutils/gdisk/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/sysutils/gdisk/distinfo =================================================================== --- head/sysutils/gdisk/distinfo (revision 300764) +++ head/sysutils/gdisk/distinfo (revision 300765) @@ -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 Property changes on: head/sysutils/gdisk/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property