aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2012-08-12 17:07:21 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2012-08-12 17:07:21 +0000
commit8afa1f188a30aec8f8d41254642a54053f7a7b1b (patch)
tree8b276af7e0e0fd79554b8c1f120676c9ff94f378 /devel
parent7d9363525fc49c588b0c599780aa033ac7669427 (diff)
downloadports-8afa1f188a30aec8f8d41254642a54053f7a7b1b.tar.gz
ports-8afa1f188a30aec8f8d41254642a54053f7a7b1b.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/libpafe/Makefile8
-rw-r--r--devel/libpafe/distinfo4
2 files changed, 8 insertions, 4 deletions
diff --git a/devel/libpafe/Makefile b/devel/libpafe/Makefile
index 3601f8b878ee..9cd78db6aaa5 100644
--- a/devel/libpafe/Makefile
+++ b/devel/libpafe/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= libpafe
-PORTVERSION= 0.0.7
+PORTVERSION= 0.0.8
#PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= http://homepage3.nifty.com/slokar/pasori/
@@ -15,6 +15,7 @@ COMMENT= FeliCa read/write library for Sony RC-S320 USB FeliCa R/W(PaSoRi)
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+USE_PKGCONFIG= yes
PLIST_FILES= bin/felica_dump bin/pasori_test \
include/libpafe/felica_command.h \
@@ -26,9 +27,12 @@ PLIST_DIRS= include/libpafe
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800069
-LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
+LIB_DEPENDS+= usb-0:${PORTSDIR}/devel/libusb
CPPFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
+.else
+CONFIGURE_ENV+= LIBUSB_CFLAGS="-I/usr/include" \
+ LIBUSB_LIBS="-L/usr/lib -lusb"
.endif
.include <bsd.port.post.mk>
diff --git a/devel/libpafe/distinfo b/devel/libpafe/distinfo
index 7521751e82e8..f3f5f022b33f 100644
--- a/devel/libpafe/distinfo
+++ b/devel/libpafe/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libpafe-0.0.7.tar.gz) = 18e77c4b84bd9e3187b157a0472c4e94907fc4a30044b10b2460f7c77d4fad96
-SIZE (libpafe-0.0.7.tar.gz) = 315245
+SHA256 (libpafe-0.0.8.tar.gz) = ba479195a14c1685d7d642658418a94de400eec0b923f86477975ac78224d1b5
+SIZE (libpafe-0.0.8.tar.gz) = 345264