|
Lines 2-9
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= jpeg-turbo |
4 |
PORTNAME= jpeg-turbo |
| 5 |
PORTVERSION= 1.3.1 |
5 |
PORTVERSION= 1.4.0 |
| 6 |
PORTREVISION?= 2 |
6 |
PORTREVISION?= 0 |
| 7 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
| 8 |
MASTER_SITES= SF/lib${PORTNAME}/${PORTVERSION} |
8 |
MASTER_SITES= SF/lib${PORTNAME}/${PORTVERSION} |
| 9 |
DISTNAME= lib${PORTNAME}-${PORTVERSION} |
9 |
DISTNAME= lib${PORTNAME}-${PORTVERSION} |
|
Lines 11-19
Link Here
|
| 11 |
MAINTAINER= bytestore@yandex.ru |
11 |
MAINTAINER= bytestore@yandex.ru |
| 12 |
COMMENT?= SIMD-accelerated JPEG codec which replaces libjpeg |
12 |
COMMENT?= SIMD-accelerated JPEG codec which replaces libjpeg |
| 13 |
|
13 |
|
| 14 |
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm |
|
|
| 15 |
|
| 16 |
ONLY_FOR_ARCHS= amd64 i386 |
| 17 |
USES= cpe libtool |
14 |
USES= cpe libtool |
| 18 |
GNU_CONFIGURE= yes |
15 |
GNU_CONFIGURE= yes |
| 19 |
CONFIGURE_ARGS= --with-jpeg8 |
16 |
CONFIGURE_ARGS= --with-jpeg8 |
|
Lines 34-40
Link Here
|
| 34 |
EXAMPLES_MAKE_ARGS= exampledir="${EXAMPLESDIR}" |
31 |
EXAMPLES_MAKE_ARGS= exampledir="${EXAMPLESDIR}" |
| 35 |
EXAMPLES_MAKE_ARGS_OFF= dist_example_DATA="" |
32 |
EXAMPLES_MAKE_ARGS_OFF= dist_example_DATA="" |
| 36 |
|
33 |
|
| 37 |
.if defined(SLAVE_PORT) |
34 |
.include <bsd.port.options.mk> |
|
|
35 |
|
| 36 |
.if ${ARCH} == i386 || ${ARCH} == amd64 |
| 37 |
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm |
| 38 |
.endif |
| 39 |
|
| 40 |
.if ${SLAVE_PORT} == yes |
| 38 |
CONFIGURE_ARGS+=--with-pic |
41 |
CONFIGURE_ARGS+=--with-pic |
| 39 |
PLIST_SUB+= JPEG="@comment " LIBTURBOJPEG="" |
42 |
PLIST_SUB+= JPEG="@comment " LIBTURBOJPEG="" |
| 40 |
.else |
43 |
.else |