37 lines
827 B
Makefile
37 lines
827 B
Makefile
# $OpenBSD: Makefile,v 1.4 2012/02/26 15:07:39 ajacoutot Exp $
|
|
|
|
COMMENT = library for reading RAW files
|
|
|
|
V = 0.14.5
|
|
DISTNAME = LibRaw-${V}
|
|
PKGNAME = ${DISTNAME:L}
|
|
CATEGORIES = graphics
|
|
|
|
SHARED_LIBS += raw 0.0 # 5.0
|
|
SHARED_LIBS += raw_r 0.0 # 5.0
|
|
|
|
HOMEPAGE = http://www.libraw.org/
|
|
|
|
# LGPL v2.1 OR CDDL v1.0 OR their own
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB += c jasper lcms2 m pthread stdc++
|
|
|
|
MASTER_SITES = http://www.libraw.org/data/
|
|
NO_REGRESS = Yes
|
|
|
|
LIB_DEPENDS = graphics/jasper \
|
|
graphics/lcms2
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED}
|
|
|
|
.include <bsd.port.mk>
|