2011-09-10 09:43:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2011/09/10 13:43:30 armani Exp $
|
2010-07-16 04:09:13 -04:00
|
|
|
|
|
|
|
COMMENT = small JSON library written in ANSI C
|
|
|
|
|
2011-05-05 08:17:44 -04:00
|
|
|
V = 2.0.1
|
2010-07-16 04:09:13 -04:00
|
|
|
PKGNAME = libyajl-${V}
|
2011-09-10 09:43:30 -04:00
|
|
|
REVISION = 0
|
2010-07-16 04:09:13 -04:00
|
|
|
DISTNAME = lloyd-yajl-${V}
|
|
|
|
|
|
|
|
CATEGORIES = devel
|
|
|
|
|
2011-05-05 08:17:44 -04:00
|
|
|
SHARED_LIBS = yajl 1.0 # 2.0
|
2010-07-16 04:09:13 -04:00
|
|
|
|
|
|
|
HOMEPAGE = http://lloyd.github.com/yajl/
|
|
|
|
|
2011-01-15 07:08:21 -05:00
|
|
|
MASTER_SITES = http://distfiles.nl/ \
|
|
|
|
http://github.com/lloyd/yajl/tarball/${V}/
|
2010-07-16 04:09:13 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
WANTLIB = c
|
|
|
|
|
|
|
|
MODULES = devel/cmake
|
|
|
|
|
|
|
|
SEPARATE_BUILD =simple
|
|
|
|
|
2011-05-05 08:17:44 -04:00
|
|
|
WRKDIST = ${WRKDIR}/lloyd-yajl-f4b2b1a
|
2010-07-16 04:09:13 -04:00
|
|
|
|
|
|
|
pre-regress:
|
|
|
|
ln -s ${WRKBUILD} ${WRKSRC}/build
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|