freebsd-ports/security/libgpg-error/Makefile

39 lines
821 B
Makefile
Raw Normal View History

# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= libgpg-error
2014-11-01 15:13:53 +01:00
PORTVERSION= 1.17
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_GNUPG}
2004-08-24 17:35:41 +02:00
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= novel@FreeBSD.org
COMMENT= Common error values for all GnuPG components
2013-12-29 18:16:15 +01:00
OPTIONS_DEFINE= DOCS NLS
USES= gmake libtool tar:bzip2
USE_LDCONFIG= yes
2004-08-24 17:35:41 +02:00
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
.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
post-install:
2014-01-31 15:22:18 +01:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>