PR: ports/164906 Submitted by: Martin Dieringer <martin.dieringer@gmx.de> Approved by: bytestore@yandex.ru (maintainer) Feature safe: yes
43 lines
1,001 B
Makefile
43 lines
1,001 B
Makefile
# New ports collection makefile for: libjpeg-turbo
|
|
# Date created: 2010-04-09
|
|
# Date modified: 2010-04-12
|
|
# Whom: Denis Podolskiy bytestore@yandex.ru (based on D. R. Commander)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libjpeg-turbo
|
|
PORTVERSION= 1.1.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= bytestore@yandex.ru
|
|
COMMENT= SIMD-accelerated JPEG codec which provides both the libjpeg,TurboJPEG
|
|
|
|
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
|
|
|
CONFLICTS_INSTALL= jpeg-[0-9]*
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
USE_AUTOTOOLS= libtool
|
|
CONFIGURE_ENV= SO_MAJOR_VERSION=${SOVERSION}
|
|
CONFIGURE_ARGS= --with-jpeg8
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
ALL_TARGET= test
|
|
|
|
MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
|
|
PLIST_SUB= SOVERSION=${SOVERSION}
|
|
|
|
# chase graphics/jpeg
|
|
SOVERSION= 11
|
|
|
|
OPTIONS+= PIC "Static library with PIC (required for VirtualGL)" off
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if defined(WITH_PIC)
|
|
CONFIGURE_ARGS+=--with-pic
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|