freebsd-ports/security/libgpg-error/Makefile
2022-10-30 06:34:34 +01:00

42 lines
980 B
Makefile

PORTNAME= libgpg-error
PORTVERSION= 1.46
CATEGORIES= security devel
MASTER_SITES= GNUPG
MAINTAINER= novel@FreeBSD.org
COMMENT= Common error values for all GnuPG components
WWW= https://www.gnupg.org/software/libgpg-error/
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB
USES= cpe libtool tar:bzip2
CPE_VENDOR= gnupg
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPP+= -P
CONFIGURE_ARGS= --enable-static=yes \
--enable-install-gpg-error-config
INSTALL_TARGET= install-strip
DOCS= AUTHORS ChangeLog NEWS README
INFO= gpgrt
OPTIONS_DEFINE= DOCS NLS TEST
OPTIONS_SUB= yes
NLS_CONFIGURE_OFF= --disable-nls
NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} --with-libintl-prefix=${LOCALBASE}
NLS_USES= gettext iconv
TEST_CONFIGURE_ENABLE= tests
TEST_TARGET= check
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>