aboutsummaryrefslogtreecommitdiff
path: root/devel/libpafe/Makefile
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2010-02-21 15:55:49 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2010-02-21 15:55:49 +0000
commit47af7a50213ba0e67cc7d3303f80150800ba8fe6 (patch)
tree6e189dec32737c97990293b9c49fb6d822e70859 /devel/libpafe/Makefile
parent77e0d427a14996cf0f3310e574f9693eec94ca97 (diff)
downloadports-47af7a50213ba0e67cc7d3303f80150800ba8fe6.tar.gz
ports-47af7a50213ba0e67cc7d3303f80150800ba8fe6.zip
Notes
Diffstat (limited to 'devel/libpafe/Makefile')
-rw-r--r--devel/libpafe/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/devel/libpafe/Makefile b/devel/libpafe/Makefile
new file mode 100644
index 000000000000..e2321e85ef3a
--- /dev/null
+++ b/devel/libpafe/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: libpafe
+# Date created: 21 February 2010
+# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= libpafe
+PORTVERSION= 0.0.7
+#PORTREVISION= 0
+CATEGORIES= devel
+MASTER_SITES= http://homepage3.nifty.com/slokar/pasori/
+
+MAINTAINER= ume@FreeBSD.org
+COMMENT= FeliCa read/write library for Sony RC-S320 USB FeliCa R/W(PaSoRi)
+
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+PLIST_FILES= bin/felica_dump bin/pasori_test \
+ include/libpafe/felica_command.h \
+ include/libpafe/libpafe.h \
+ include/libpafe/pasori_command.h \
+ lib/libpafe.a lib/libpafe.so lib/libpafe.la lib/libpafe.so.0
+PLIST_DIRS= include/libpafe
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \
+ LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
+.endif
+
+.include <bsd.port.post.mk>