02a811396f
while here, adjust .pc file to be in the same style as other .pc files bump REVISION OK landry@
35 lines
902 B
Makefile
35 lines
902 B
Makefile
# $OpenBSD: Makefile,v 1.3 2010/10/24 12:13:27 phessler Exp $
|
|
COMMENT = library for reading RAW files
|
|
|
|
V = 0.9.1
|
|
DISTNAME = LibRaw-${V}
|
|
PKGNAME = ${DISTNAME:L}
|
|
REVISION = 1
|
|
CATEGORIES = graphics
|
|
|
|
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
|
|
|
|
MASTER_SITES = http://www.libraw.org/data/
|
|
NO_REGRESS = Yes
|
|
|
|
#WANTLIB += c m pthread stdc++
|
|
|
|
pre-configure:
|
|
@cp ${FILESDIR}/raw.pc ${WRKBUILD}
|
|
@perl -pi -e 's,%%VERSION%%,${V},g' ${WRKBUILD}/raw.pc
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/libraw/
|
|
${INSTALL_DATA} ${WRKBUILD}/libraw/* ${PREFIX}/include/libraw/
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/lib/libraw* ${PREFIX}/lib
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig/
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/raw.pc ${PREFIX}/lib/pkgconfig/
|
|
|
|
.include <bsd.port.mk>
|