aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/ifd-gempc410/Makefile7
-rw-r--r--security/ifd-gempc410/distinfo2
-rw-r--r--security/ifd-gempc410/pkg-plist2
3 files changed, 7 insertions, 4 deletions
diff --git a/security/ifd-gempc410/Makefile b/security/ifd-gempc410/Makefile
index 5b9c29b5e14f..b7664b47c307 100644
--- a/security/ifd-gempc410/Makefile
+++ b/security/ifd-gempc410/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ifd-gempc410
-PORTVERSION= 0.8.0
+PORTVERSION= 0.8.2
CATEGORIES= security
MASTER_SITES= http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/
DISTNAME= ifd-gempc-${PORTVERSION}
@@ -18,8 +18,8 @@ BUILD_DEPENDS= ${LOCALBASE}/include/ifdhandler.h:${PORTSDIR}/security/ifd-devkit
LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite
USE_GMAKE= yes
+USE_REINPLACE= yes
-MAKE_ENV+= DESTDIR="${PREFIX}"
MAKE_ARGS+= -CGemPC410
INSTALLS_SHLIB= yes
@@ -29,6 +29,9 @@ NOMAN=
PKGMESSAGE= ${WRKDIR}/message
post-configure:
+ ${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
+ -e '/INCS/ s,/usr/local,${LOCALBASE},g' \
+ -e '/DESTDIR/ s,/usr/local,${PREFIX},g'
${SED} -e 's|%%PREFIX%%|${PREFIX}|g' <${FILESDIR}/message >${PKGMESSAGE}
${TOUCH} ${WRKSRC}/GemPC410/dep_stamp ${WRKSRC}/common/dep_stamp
diff --git a/security/ifd-gempc410/distinfo b/security/ifd-gempc410/distinfo
index 896c974f5dd4..44580d943e8a 100644
--- a/security/ifd-gempc410/distinfo
+++ b/security/ifd-gempc410/distinfo
@@ -1 +1 @@
-MD5 (ifd-gempc-0.8.0.tar.gz) = 1e3bb5863ee845a00a1c0ed83b830204
+MD5 (ifd-gempc-0.8.2.tar.gz) = 4d8789efb4dfab288bd1be5e82c7da42
diff --git a/security/ifd-gempc410/pkg-plist b/security/ifd-gempc410/pkg-plist
index 83954e26a57c..6a3448fb96c6 100644
--- a/security/ifd-gempc410/pkg-plist
+++ b/security/ifd-gempc410/pkg-plist
@@ -1,3 +1,3 @@
lib/libGemPC410.so
lib/libGemPC410.so.0
-lib/libGemPC410.so.0.8.0
+lib/libGemPC410.so.0.8.2