34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2017/09/03 09:22:57 wiz Exp $
|
|
|
|
DISTNAME= jxrlib_1_1
|
|
PKGNAME= jxrlib-1.1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= # javascript link
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/curasystems/jxrlib
|
|
COMMENT= JPEG XR library
|
|
LICENSE= 2-clause-bsd
|
|
|
|
WRKSRC= ${WRKDIR}/jxrlib
|
|
|
|
INSTALLATION_DIRS= bin lib
|
|
INSTALLATION_DIRS+= include/jxrlib/common/include
|
|
INSTALLATION_DIRS+= include/jxrlib/image/sys
|
|
INSTALLATION_DIRS+= include/jxrlib/image/encode
|
|
INSTALLATION_DIRS+= include/jxrlib/image/decode
|
|
INSTALLATION_DIRS+= include/jxrlib/image/x86
|
|
INSTALLATION_DIRS+= include/jxrgluelib
|
|
INSTALLATION_DIRS+= share/doc/jxrlib
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/JxrEncApp ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/JxrDecApp ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_LIB} ${WRKSRC}/*.a ${DESTDIR}${PREFIX}/lib
|
|
for dir in common/include image/sys image/encode image/decode image/x86; do \
|
|
${INSTALL_DATA} ${WRKSRC}/$$dir/*.h ${DESTDIR}${PREFIX}/include/jxrlib/$$dir; \
|
|
done
|
|
${INSTALL_DATA} ${WRKSRC}/jxrgluelib/*.h ${DESTDIR}${PREFIX}/include/jxrgluelib
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/jxrlib
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|