2013-03-02 11:56:34 +01:00
|
|
|
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
2003-10-21 22:23:27 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libgpg-error
|
2013-06-30 18:59:08 +02:00
|
|
|
PORTVERSION= 1.12
|
2003-10-21 22:23:27 +02:00
|
|
|
CATEGORIES= security devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
2004-08-24 17:35:41 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-10-21 22:23:27 +02:00
|
|
|
|
2006-09-22 08:57:06 +02:00
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2003-10-21 22:23:27 +02:00
|
|
|
COMMENT= Common error values for all GnuPG components
|
|
|
|
|
2007-06-30 17:26:32 +02:00
|
|
|
USE_BZIP2= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-03-08 15:11:30 +01:00
|
|
|
USE_GNOME= ltverhack
|
2006-09-22 08:57:06 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-08-24 17:35:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-04-08 01:25:43 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2003-10-21 22:23:27 +02:00
|
|
|
|
2013-03-02 11:56:34 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-27 20:25:24 +02:00
|
|
|
USES+= gettext iconv
|
2004-10-12 09:15:59 +02:00
|
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--with-libintl-prefix=${LOCALBASE}
|
|
|
|
PLIST_SUB= NLS=""
|
2013-03-02 11:56:34 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --disable-nls
|
|
|
|
PLIST_SUB= NLS="@comment "
|
2004-03-27 23:12:40 +01:00
|
|
|
.endif
|
|
|
|
|
2003-10-21 22:23:27 +02:00
|
|
|
DOCS= AUTHORS ChangeLog NEWS README
|
|
|
|
|
2013-03-02 11:56:34 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2003-10-21 22:23:27 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|