2003-10-21 22:23:27 +02:00
|
|
|
# New ports collection makefile for: libgpg-error
|
|
|
|
# Date created: 2003-10-12
|
|
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libgpg-error
|
2005-10-05 09:12:58 +02:00
|
|
|
PORTVERSION= 1.1
|
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
|
|
|
|
2004-03-08 23:09:48 +01:00
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
2003-10-21 22:23:27 +02:00
|
|
|
COMMENT= Common error values for all GnuPG components
|
|
|
|
|
2004-08-24 17:35:41 +02:00
|
|
|
USE_GPG= yes
|
|
|
|
SIG_SUFFIX= .sig
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15:inc
|
2004-08-24 17:35:41 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-10-21 22:23:27 +02:00
|
|
|
|
2004-03-27 23:12:40 +01:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS= --without-nls
|
2004-10-12 09:15:59 +02:00
|
|
|
PLIST_SUB= NLS="@comment "
|
2004-03-27 23:12:40 +01:00
|
|
|
.else
|
2004-10-12 09:15:59 +02:00
|
|
|
USE_ICONV= yes
|
2004-03-27 23:12:40 +01:00
|
|
|
USE_GETTEXT= yes
|
2004-10-12 09:15:59 +02:00
|
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
|
|
|
--with-libintl-prefix=${LOCALBASE}
|
|
|
|
PLIST_SUB= NLS=""
|
2004-03-27 23:12:40 +01:00
|
|
|
.endif
|
|
|
|
|
2003-10-21 22:23:27 +02:00
|
|
|
DOCS= AUTHORS ChangeLog NEWS README
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|