freebsd-ports/security/libgpg-error/Makefile

41 lines
847 B
Makefile
Raw Normal View History

# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= libgpg-error
2013-06-30 18:59:08 +02:00
PORTVERSION= 1.12
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
USE_BZIP2= yes
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
USE_GNOME= ltverhack
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= --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>