mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. 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, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# Created by: dwm
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= icu
|
|
DISTVERSION= 63_1
|
|
PORTREVISION?= 1 # keep for icu-lx
|
|
PORTEPOCH?= 1
|
|
CATEGORIES?= devel
|
|
MASTER_SITES= https://github.com/unicode-org/${PORTNAME}/releases/download/release-${DISTVERSION:S/_/-/g}/ \
|
|
SF/${PORTNAME}/${PORTNAME:tu}4C/${PORTVERSION}
|
|
DISTNAME= icu4c-${DISTVERSION}-src
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
COMMENT?= International Components for Unicode (from IBM)
|
|
|
|
LICENSE= ICU
|
|
LICENSE_NAME= ICU license
|
|
LICENSE_FILE= ${WRKSRC}/../LICENSE
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS?=--disable-layoutex
|
|
CONFIGURE_ARGS+=--with-data-packaging=archive \
|
|
--disable-renaming \
|
|
--disable-samples \
|
|
--enable-static
|
|
CPPFLAGS+= -DICU_NO_USER_DATA_OVERRIDE
|
|
MAKE_ARGS= VERBOSE=1
|
|
TEST_TARGET= check
|
|
USES+= compiler:c++11-lib gmake pathfix tar:tgz
|
|
USE_LDCONFIG= yes
|
|
WRKSRC= ${WRKDIR}/icu/source
|
|
|
|
ICUMAJOR= ${PORTVERSION:C/\..*//}
|
|
PLIST_SUB+= ICUMAJOR=${ICUMAJOR} ICUVER=${PORTVERSION}
|
|
|
|
.ifndef PKGNAMESUFFIX
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/g* \
|
|
${STAGEDIR}${PREFIX}/bin/*conv \
|
|
${STAGEDIR}${PREFIX}/bin/icuinfo \
|
|
${STAGEDIR}${PREFIX}/bin/derb \
|
|
${STAGEDIR}${PREFIX}/bin/pkgdata
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
|
|
# Filename varies by endianness: icudt<major>b.dat vs. icudt<major>l.dat
|
|
@(cd ${STAGEDIR}${PREFIX} && ${ECHO_CMD} \
|
|
${DATADIR_REL}/${PORTVERSION}/icudt*.dat >>${TMPPLIST})
|
|
.endif # PKGNAMESUFFIX
|
|
|
|
.include <bsd.port.mk>
|