aboutsummaryrefslogtreecommitdiff
path: root/devel/libpafe/Makefile
blob: 3601f8b878ee6670796de08b299337606407c7ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
CPPFLAGS+=	-I${PREFIX}/include
LDFLAGS+=	-L${PREFIX}/lib
.endif

.include <bsd.port.post.mk>