Switch GH_* to stable /release/ MASTER_SITES

While here, turn `find | xargs rm' into `find -delete'.

OK sthen
This commit is contained in:
kn 2018-05-10 16:02:56 +00:00
parent 8abc6623f1
commit 966582c490
3 changed files with 11 additions and 14 deletions

View File

@ -1,15 +1,11 @@
# $OpenBSD: Makefile,v 1.45 2018/02/18 10:35:31 sthen Exp $
# $OpenBSD: Makefile,v 1.46 2018/05/10 16:02:56 kn Exp $
COMMENT= set of libraries and utilities to access smart cards
VERSION= 0.17.0
DISTNAME= OpenSC-${VERSION}
PKGNAME= opensc-${VERSION}
REVISION= 2
GH_ACCOUNT= OpenSC
GH_PROJECT= ${GH_ACCOUNT}
GH_TAGNAME= ${VERSION}
SUBST_VARS += GH_TAGNAME
V= 0.17.0
DISTNAME= opensc-${V}
REVISION= 3
SUBST_VARS += V
SHARED_LIBS += opensc 6.0 # 5.0
SHARED_LIBS += smm-local 2.0 # 5.0
@ -25,6 +21,8 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c crypto ncurses pthread readline z
MASTER_SITES= https://github.com/OpenSC/OpenSC/releases/download/${V}/
BUILD_DEPENDS= devel/libtool \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
@ -57,7 +55,6 @@ post-install:
${SUBST_CMD} -c -m 0644 -o ${BINOWN} -g ${BINGRP} \
${FILESDIR}/libopensc.pc \
${PREFIX}/lib/pkgconfig/libopensc.pc
@find ${PREFIX}/lib/pkcs11/ -name '*.la' -print0 | \
xargs -0r rm -f
@find ${PREFIX}/lib/pkcs11/ -name '*.la' -delete
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (OpenSC-0.17.0.tar.gz) = AHxGIq/CJbjXob6lT1Mlr/pEF/TheqoDJWqp9MJXgv0=
SIZE (OpenSC-0.17.0.tar.gz) = 1407652
SHA256 (opensc-0.17.0.tar.gz) = vnPGgWhnq0ch5qmufbqOiQxfFp8KLLtL81Tg8wqUgwA=
SIZE (opensc-0.17.0.tar.gz) = 1950547

View File

@ -5,6 +5,6 @@ includedir=${prefix}/include
Name: libopensc
Description: OpenSC smartcard framework
Version: ${GH_TAGNAME}
Version: ${V}
Libs: -L${libdir} -lopensc
Cflags: -I${includedir}