blob: 50887f75cd265ff29114f3382a8a139a2c5b82c0 (
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
35
36
37
38
39
40
41
|
# $FreeBSD$
PORTNAME= jxrlib
PORTVERSION= 1.1
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR=pool/main/j/jxrlib
DISTFILES= jxrlib_${PORTVERSION}.orig.tar.gz \
jxrlib_${PORTVERSION}-6.debian.tar.xz
MAINTAINER= mi@aldan.algebra.com
COMMENT= Library for JPEG XR, a.k.a. Windows MediaTM Photo
LICENSE= BSD
BROKEN_aarch64= fails to link: cc: linker command failed with exit code 1 (use -v to see invocation)
BROKEN_mips= fails to compile: cc1: unrecognized command line option "-Wno-extra-tokens"
BROKEN_mips64= fails to compile: cc1: unrecognized command line option "-Wno-extra-tokens"
BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option "-Wno-extra-tokens"
USES= dos2unix uidfix
USE_LDCONFIG= yes
MAKEFILE= BSDmakefile # created by do-configure
MAKE_ENV= WRKDIR="${WRKDIR}"
do-configure:
${RM} -f ${WRKSRC}/BSDmakefile
.for d in libjpegxr jxrgluelib JxrEncApp JxrDecApp
${MKDIR} ${WRKSRC}/$d
${LN} -sf ${FILESDIR}/BSDmakefile.$d ${WRKSRC}/$d/BSDmakefile
${ECHO} "SUBDIR+=$d" >> ${WRKSRC}/BSDmakefile
.endfor
${ECHO} '.include <bsd.subdir.mk>' >> ${WRKSRC}/BSDmakefile
post-build:
${MKDIR} ${STAGEDIR}${PREFIX}/include/jxrlib
regression-test test check: build
${SETENV} WRKSRC="${WRKSRC}" ${SH} -x ${FILESDIR}/test.sh
.include <bsd.port.mk>
|