1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= libgpg-error |
4 |
PORTVERSION= 1.27 |
5 |
CATEGORIES= security devel |
6 |
MASTER_SITES= GNUPG |
7 |
|
8 |
MAINTAINER= ports@MidnightBSD.org |
9 |
COMMENT= Common error values for all GnuPG components |
10 |
|
11 |
LICENSE= gpl2 lgpl2.1 |
12 |
LICENSE_COMB= multi |
13 |
LICENSE_FILE_gpl2= ${WRKSRC}/COPYING |
14 |
LICENSE_FILE_lgpl2.1= ${WRKSRC}/COPYING.LIB |
15 |
|
16 |
OPTIONS_DEFINE= DOCS NLS |
17 |
OPTIONS_SUB= yes |
18 |
|
19 |
USES= gmake libtool tar:bzip2 |
20 |
USE_LDCONFIG= yes |
21 |
GNU_CONFIGURE= yes |
22 |
MAKE_JOBS_UNSAFE= yes |
23 |
CPP+= -P |
24 |
CONFIGURE_ARGS= --enable-static=yes |
25 |
|
26 |
.include <bsd.mport.options.mk> |
27 |
|
28 |
.if ${PORT_OPTIONS:MNLS} |
29 |
USES+= gettext iconv |
30 |
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ |
31 |
--with-libintl-prefix=${LOCALBASE} |
32 |
PLIST_SUB= NLS="" |
33 |
.else |
34 |
CONFIGURE_ARGS= --disable-nls |
35 |
PLIST_SUB= NLS="@comment " |
36 |
.endif |
37 |
|
38 |
DOCS= AUTHORS ChangeLog NEWS README |
39 |
INFO= gpgrt |
40 |
|
41 |
post-install: |
42 |
@${MKDIR} ${DOCSDIR} |
43 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} |
44 |
|
45 |
.include <bsd.port.mk> |