# New ports collection makefile for: libpafe # Date created: 21 February 2010 # Whom: Hajimu UMEMOTO # # $FreeBSD$ PORTNAME= libpafe PORTVERSION= 0.0.8 #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) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_PKGCONFIG= 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 .if ${OSVERSION} < 800069 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