1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/converters/iconv/Makefile
Stefan Eßer 796ea007ba converters/iconv: fix package creation on -CURRENT
Support for profiled libraries has been removed vom 14-CURRENT.
While other ports have completely removed the creation of profiled
libraries, this patch disables it on 14-CURRENT, only.

While here, add LICENSE and LICENSE_FILE.

Approved by:	bland (maintainer)
MFH:		2022Q1
2022-01-04 22:31:14 +01:00

39 lines
797 B
Makefile

# Created by: Konstantin Chuguev <Konstantin.Chuguev@dante.org.uk>
PORTNAME= iconv
PORTVERSION= 2.0
PORTREVISION= 5
CATEGORIES= converters
MASTER_SITES= LOCAL/bland
MAINTAINER= bland@FreeBSD.org
COMMENT= Charset conversion library and utilities
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= shebangfix perl5 uidfix
USE_LDCONFIG= yes
USE_PERL5= build
SHEBANG_FILES= iconv_builtin ccs/iconv_mktbl
OPTIONS_DEFINE= CCSUTIL
OPTIONS_DEFAULT=CCSUTIL
OPTIONS_SUB= yes
CCSUTIL_DESC= Install Coded character set (CCS) util
CCSUTIL_USE= PERL5=run
CCSUTIL_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-ccs_Makefile
.include <bsd.port.pre.mk>
.if defined(NO_PROFILE) || ${OSVERSION} > 1400001
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
.endif
.include <bsd.port.post.mk>