mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
55be57665b
PR: 176460 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp>
42 lines
857 B
Makefile
42 lines
857 B
Makefile
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libgpg-error
|
|
PORTVERSION= 1.11
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
COMMENT= Common error values for all GnuPG components
|
|
|
|
USE_BZIP2= yes
|
|
USE_AUTOTOOLS= libtool
|
|
USE_GNOME= ltverhack
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USE_ICONV= yes
|
|
USE_GETTEXT= yes
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
|
--with-libintl-prefix=${LOCALBASE}
|
|
PLIST_SUB= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS= --disable-nls
|
|
PLIST_SUB= NLS="@comment "
|
|
.endif
|
|
|
|
DOCS= AUTHORS ChangeLog NEWS README
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|