aboutsummaryrefslogtreecommitdiff
path: root/graphics/libjpeg-turbo
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-23 19:40:21 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-23 19:40:21 +0000
commit29f121162297502f724577ed28d70dc4c9a7b988 (patch)
tree1ed43e05b5ca21cfea862aedefca9f7dea1fee2d /graphics/libjpeg-turbo
parent4bbd30107ef1e1f8ff71b445f0d869d9da3b8fcd (diff)
downloadports-29f121162297502f724577ed28d70dc4c9a7b988.tar.gz
ports-29f121162297502f724577ed28d70dc4c9a7b988.zip
Notes
Diffstat (limited to 'graphics/libjpeg-turbo')
-rw-r--r--graphics/libjpeg-turbo/Makefile57
-rw-r--r--graphics/libjpeg-turbo/distinfo2
-rw-r--r--graphics/libjpeg-turbo/pkg-descr2
-rw-r--r--graphics/libjpeg-turbo/pkg-plist24
4 files changed, 8 insertions, 77 deletions
diff --git a/graphics/libjpeg-turbo/Makefile b/graphics/libjpeg-turbo/Makefile
index 346294153e52..52bcaef07760 100644
--- a/graphics/libjpeg-turbo/Makefile
+++ b/graphics/libjpeg-turbo/Makefile
@@ -1,57 +1,12 @@
# Created by: Denis Podolskiy <bytestore@yandex.ru>
# $FreeBSD$
-PORTNAME= libjpeg-turbo
-PORTVERSION= 1.3.0
-PORTREVISION= 1
-CATEGORIES= graphics
-MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
+PKGNAMEPREFIX= lib
-MAINTAINER= bytestore@yandex.ru
-COMMENT= SIMD-accelerated JPEG codec which provides both the libjpeg,TurboJPEG
+COMMENT= SIMD-accelerated JPEG codec library, provides libTurboJPEG
-BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
+MASTERDIR= ${.CURDIR:H}/jpeg-turbo
+SLAVE_PORT= yes
+OPTIONS_SLAVE= PIC
-CONFLICTS_INSTALL= jpeg-[0-9]*
-ONLY_FOR_ARCHS= amd64 i386
-USES= libtool
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= SO_MAJOR_VERSION=${SOVERSION}
-CONFIGURE_ARGS= --with-jpeg8
-USE_LDCONFIG= yes
-ALL_TARGET= test
-
-PLIST_SUB= SOVERSION=${SOVERSION}
-PORTDOCS= *
-PORTEXAMPLES= *
-
-# chase graphics/jpeg
-SOVERSION= 11
-
-OPTIONS_DEFINE= PIC DOCS EXAMPLES
-PIC_DESC= Static library with PIC (required for VirtualGL)
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPIC}
-CONFIGURE_ARGS+=--with-pic
-.endif
-
-post-patch:
-.if ! ${PORT_OPTIONS:MDOCS}
- ${REINPLACE_CMD} -e '/^install-data-am/s,install-dist_docDATA,,' \
- ${WRKSRC}/Makefile.in
-.else
- ${REINPLACE_CMD} -e '/^docdir/s,=.*,= ${DOCSDIR},' \
- ${WRKSRC}/Makefile.in
-.endif
-
-.if ! ${PORT_OPTIONS:MEXAMPLES}
- ${REINPLACE_CMD} -e '/^install-data-am/s,install-dist_exampleDATA,,' \
- ${WRKSRC}/Makefile.in
-.else
- ${REINPLACE_CMD} -e '/^exampledir/s,=.*,= ${EXAMPLESDIR},' \
- ${WRKSRC}/Makefile.in
-.endif
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/libjpeg-turbo/distinfo b/graphics/libjpeg-turbo/distinfo
deleted file mode 100644
index fb53bf70a8bb..000000000000
--- a/graphics/libjpeg-turbo/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (libjpeg-turbo-1.3.0.tar.gz) = 2657008cfc08aadbaca065bd9f8964b8a2c0abd03e73da5b5f09c1216be31234
-SIZE (libjpeg-turbo-1.3.0.tar.gz) = 1361603
diff --git a/graphics/libjpeg-turbo/pkg-descr b/graphics/libjpeg-turbo/pkg-descr
index 53fff38aa09d..1f6b36bd07bd 100644
--- a/graphics/libjpeg-turbo/pkg-descr
+++ b/graphics/libjpeg-turbo/pkg-descr
@@ -1,3 +1,5 @@
+This is the libjpeg-turbo library.
+
libjpeg-turbo is a high-speed version of libjpeg for x86 and x86-64 processors
which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG
compression and decompression.
diff --git a/graphics/libjpeg-turbo/pkg-plist b/graphics/libjpeg-turbo/pkg-plist
deleted file mode 100644
index 61d92bf82128..000000000000
--- a/graphics/libjpeg-turbo/pkg-plist
+++ /dev/null
@@ -1,24 +0,0 @@
-bin/cjpeg
-bin/djpeg
-bin/jpegtran
-bin/rdjpgcom
-bin/tjbench
-bin/wrjpgcom
-include/jconfig.h
-include/jerror.h
-include/jmorecfg.h
-include/jpeglib.h
-include/turbojpeg.h
-lib/libjpeg.a
-lib/libjpeg.so
-lib/libjpeg.so.%%SOVERSION%%
-lib/libjpeg.so.%%SOVERSION%%.0.2
-lib/libturbojpeg.a
-lib/libturbojpeg.so
-lib/libturbojpeg.so.0
-lib/libturbojpeg.so.0.0.0
-man/man1/cjpeg.1.gz
-man/man1/djpeg.1.gz
-man/man1/jpegtran.1.gz
-man/man1/rdjpgcom.1.gz
-man/man1/wrjpgcom.1.gz