Update to 1.4.22

Support Staging
This commit is contained in:
Tilman Keskinoz 2014-04-14 08:28:25 +00:00
parent e9882ff1c4
commit 49f3f4159d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351250
4 changed files with 24 additions and 35 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= pcsc-tools
PORTVERSION= 1.4.21
PORTREVISION= 1
PORTVERSION= 1.4.22
CATEGORIES= security
MASTER_SITES= http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
@ -18,15 +17,22 @@ RUN_DEPENDS= p5-PCSC-Card>=0:${PORTSDIR}/devel/p5-PCSC-Card \
USES= gmake pkgconfig
MAN1= pcsc_scan.1 gscriptor.1p scriptor.1p ATR_analysis.1p
.include <bsd.port.pre.mk>
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e "s,DESTDIR,PREFIX,g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pcsc_scan \
${STAGEDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/ATR_analysis \
${WRKSRC}/gscriptor \
${WRKSRC}/scriptor \
${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/pcsc_scan.1 \
${WRKSRC}/gscriptor.1p \
${WRKSRC}/scriptor.1p \
${WRKSRC}/ATR_analysis.1p \
${STAGEDIR}${MAN1PREFIX}/man/man1
${MKDIR} ${STAGEDIR}/${PREFIX}/share/pcsc
${INSTALL_DATA} ${WRKSRC}/smartcard_list.txt \
${STAGEDIR}/${PREFIX}/share/pcsc
post-install:
.for i in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/$i ${MAN1PREFIX}/man/man1
.endfor
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -1,2 +1,2 @@
SHA256 (pcsc-tools-1.4.21.tar.gz) = bab20f441e4f853429ebb1823f92b99a50612db7c28f808a7490c7b30617de01
SIZE (pcsc-tools-1.4.21.tar.gz) = 101331
SHA256 (pcsc-tools-1.4.22.tar.gz) = 615592dd56627bd0ff3650608bb7eefe3e9f43cc18ca2d805ebf0bf74d30f307
SIZE (pcsc-tools-1.4.22.tar.gz) = 109458

View file

@ -1,21 +0,0 @@
--- Makefile.bak 2009-05-14 20:39:23.000000000 +0200
+++ Makefile 2012-01-20 13:44:11.000000000 +0100
@@ -20,7 +20,7 @@
BIN_SCRIPT = ATR_analysis gscriptor scriptor
MAN = pcsc_scan.1.gz gscriptor.1p.gz scriptor.1p.gz ATR_analysis.1p.gz
-all: $(BIN) $(MAN)
+all: $(BIN)
pcsc_scan: pcsc_scan.o
@@ -33,9 +33,6 @@
install -d $(DESTDIR)/share/pcsc
install -m 644 smartcard_list.txt $(DESTDIR)/share/pcsc
- install -d $(DESTDIR)/share/man/man1/
- install -m 644 $(MAN) $(DESTDIR)/share/man/man1/
-
clean:
rm -f pcsc_scan.o $(BIN) $(MAN)

View file

@ -2,5 +2,9 @@ bin/pcsc_scan
bin/ATR_analysis
bin/gscriptor
bin/scriptor
man/man1/ATR_analysis.1p.gz
man/man1/gscriptor.1p.gz
man/man1/pcsc_scan.1.gz
man/man1/scriptor.1p.gz
share/pcsc/smartcard_list.txt
@dirrm share/pcsc