mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
40 lines
844 B
Makefile
40 lines
844 B
Makefile
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libgpg-error
|
|
PORTVERSION= 1.13
|
|
PORTREVISION= 1
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
COMMENT= Common error values for all GnuPG components
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
USES= gmake libtool:keepla tar:bzip2
|
|
USE_LDCONFIG= yes
|
|
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:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|