freebsd-ports/security/libgpg-error/Makefile
Antoine Brodin a0b548b96a Properly register info page
PR:		199975
Approved by:	maintainer timeout (2 weeks)
2015-05-21 18:25:10 +00:00

40 lines
814 B
Makefile

# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= libgpg-error
PORTVERSION= 1.19
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= GNUPG
MAINTAINER= novel@FreeBSD.org
COMMENT= Common error values for all GnuPG components
OPTIONS_DEFINE= DOCS NLS
USES= gmake libtool tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
CPP+= -P
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext iconv
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--with-libintl-prefix=${LOCALBASE}
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
DOCS= AUTHORS ChangeLog NEWS README
INFO= gpgrt
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>