1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/graphics/libjxr/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

34 lines
854 B
Makefile

PORTNAME= jxrlib
PORTVERSION= 1.1
CATEGORIES= graphics devel
MASTER_SITES= DEBIAN
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= BSD2CLAUSE
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
do-test:
${SETENV} WRKSRC="${WRKSRC}" ${SH} -x ${FILESDIR}/test.sh
.include <bsd.port.mk>