| @@ -1,40 +1,42 @@ | | | @@ -1,40 +1,42 @@ |
1 | # $NetBSD: Makefile,v 1.23 2017/02/16 14:30:50 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.24 2017/05/28 14:32:49 rumko Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ccid-1.4.26 | | 4 | DISTNAME= ccid-1.4.26 |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= security | | 6 | CATEGORIES= security |
6 | # Note that the MASTER_SITES URL is not stable with version changes, | | 7 | # Note that the MASTER_SITES URL is not stable with version changes, |
7 | # and one can end up with an old version if DISTNAME is changed but | | 8 | # and one can end up with an old version if DISTNAME is changed but |
8 | # not the magic number in MASTER_SITES. | | 9 | # not the magic number in MASTER_SITES. |
9 | # https://alioth.debian.org/frs/?group_id=30105#title_ccid | | 10 | # https://alioth.debian.org/frs/?group_id=30105#title_ccid |
10 | MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4205/ | | 11 | MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4205/ |
11 | EXTRACT_SUFX= .tar.bz2 | | 12 | EXTRACT_SUFX= .tar.bz2 |
12 | | | 13 | |
13 | MAINTAINER= gdt@NetBSD.org | | 14 | MAINTAINER= gdt@NetBSD.org |
14 | HOMEPAGE= http://pcsclite.alioth.debian.org/ccid.html | | 15 | HOMEPAGE= http://pcsclite.alioth.debian.org/ccid.html |
15 | COMMENT= Middleware to access a smart card using SCard API (PC/SC) | | 16 | COMMENT= Middleware to access a smart card using SCard API (PC/SC) |
16 | LICENSE= gnu-lgpl-v2.1 | | 17 | LICENSE= gnu-lgpl-v2.1 |
17 | | | 18 | |
18 | .include "../../mk/bsd.prefs.mk" | | 19 | .include "../../mk/bsd.prefs.mk" |
19 | | | 20 | |
20 | BUILD_DEFS= VARBASE | | 21 | BUILD_DEFS= VARBASE |
21 | | | 22 | |
22 | GNU_CONFIGURE= yes | | 23 | GNU_CONFIGURE= yes |
23 | USE_LIBTOOL= yes | | 24 | USE_LIBTOOL= yes |
24 | USE_TOOLS+= pkg-config | | 25 | USE_TOOLS+= pkg-config |
25 | USE_TOOLS+= autoconf automake aclocal autoheader | | 26 | USE_TOOLS+= autoconf automake aclocal autoheader |
26 | USE_TOOLS+= flex perl | | 27 | USE_TOOLS+= flex perl |
27 | USE_LANGUAGES= c c++ | | 28 | USE_LANGUAGES= c c++ |
| | | 29 | PTHREAD_AUTO_VARS= yes |
28 | | | 30 | |
29 | CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q} | | 31 | CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q} |
30 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | | 32 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} |
31 | | | 33 | |
32 | REPLACE_PERL= src/convert_version.pl src/create_Info_plist.pl | | 34 | REPLACE_PERL= src/convert_version.pl src/create_Info_plist.pl |
33 | | | 35 | |
34 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 | | 36 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 |
35 | INSTALLATION_DIRS+= sbin share/doc/ccid | | 37 | INSTALLATION_DIRS+= sbin share/doc/ccid |
36 | | | 38 | |
37 | pre-configure: | | 39 | pre-configure: |
38 | cd ${WRKSRC} && ${SH} bootstrap | | 40 | cd ${WRKSRC} && ${SH} bootstrap |
39 | | | 41 | |
40 | post-install: | | 42 | post-install: |