1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/security/libgpg-error/Makefile
Jason E. Hale d146ee3825 security/libgpg-error: Fix gpgrt-config
Fix the default search path for pkgconfig files in gpgrt-config.
Previously, it was necessary to supply the path manually with the
--libdir argument, but this can now be omitted.

Approved by:	portmgr (blanket)
2024-04-24 01:52:55 -04:00

45 lines
1.0 KiB
Makefile

PORTNAME= libgpg-error
DISTVERSION= 1.48
PORTREVISION= 1
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 pathfix tar:bzip2
CPE_VENDOR= gnupg
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
DOCS= AUTHORS ChangeLog NEWS README
INFO= gpgrt
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --enable-static=yes \
--enable-install-gpg-error-config
OPTIONS_DEFINE= DOCS NLS TEST
OPTIONS_SUB= yes
NLS_USES= gettext iconv
NLS_CONFIGURE_OFF= --disable-nls
NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} --with-libintl-prefix=${LOCALBASE}
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>