forked from Lainports/freebsd-ports
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# Created by: Dmitry N Fomin <fdn@okbire.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gdisk
|
|
PORTVERSION= 1.0.4
|
|
PORTREVISION= 5
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/gptfdisk/gptfdisk/${PORTVERSION}
|
|
DISTNAME= gptfdisk-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= GPT fdisk
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
|
|
LIB_DEPENDS= libpopt.so:devel/popt \
|
|
libuuid.so:misc/e2fsprogs-libuuid
|
|
|
|
USES= localbase:ldflags
|
|
|
|
ALL_TARGET= fixparts gdisk sgdisk
|
|
MAKEFILE= Makefile.freebsd
|
|
|
|
OPTIONS_DEFINE= CGDISK UTF16
|
|
OPTIONS_SUB= yes
|
|
CGDISK_DESC= Curses-based interactive program
|
|
UTF16_DESC= Support for Unicode partition names
|
|
|
|
CGDISK_ALL_TARGET= cgdisk
|
|
CGDISK_USES= ncurses
|
|
UTF16_USES= compiler:c++11-lib
|
|
UTF16_CPPFLAGS= -DUSE_UTF16
|
|
UTF16_CXXFLAGS= -std=gnu++11
|
|
UTF16_LDFLAGS= -licuio -licuuc
|
|
UTF16_LIB_DEPENDS= libicuuc.so:devel/icu
|
|
|
|
do-install:
|
|
.for i in fixparts gdisk sgdisk
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/${i}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
|
.endfor
|
|
|
|
do-install-CGDISK-on:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cgdisk ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/cgdisk.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|