1994-11-06 03:18:01 -05:00
|
|
|
# New ports collection makefile for: jpeg
|
|
|
|
# Date created: 6 November 1994
|
|
|
|
# Whom: smace
|
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1994-11-06 03:18:01 -05:00
|
|
|
#
|
2000-05-19 03:05:29 -04:00
|
|
|
# PLEASE update print/ghostscript5 (there's a symlink that uses a hardwired
|
|
|
|
# version number) when updating this port. Thank you.
|
1994-11-06 03:18:01 -05:00
|
|
|
|
2001-01-16 12:33:20 -05:00
|
|
|
PORTNAME= jpeg
|
2000-04-14 06:48:02 -04:00
|
|
|
PORTVERSION= 6b
|
2001-11-15 22:33:54 -05:00
|
|
|
PORTREVISION= 1
|
2001-01-16 12:33:20 -05:00
|
|
|
CATEGORIES= graphics
|
2002-06-23 14:06:32 -04:00
|
|
|
MASTER_SITES= http://www.ijg.org/files/ \
|
|
|
|
ftp://ftp.uu.net/graphics/jpeg/
|
2001-01-16 12:33:20 -05:00
|
|
|
DISTNAME= jpegsrc.v${PORTVERSION}
|
1995-04-09 03:09:55 -04:00
|
|
|
|
2001-09-17 13:40:31 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 13:08:19 -05:00
|
|
|
COMMENT= IJG's jpeg compression utilities
|
1998-04-15 17:32:50 -04:00
|
|
|
|
2001-01-16 12:33:20 -05:00
|
|
|
WRKSRC= ${WRKDIR}/jpeg-6b
|
2000-10-02 20:54:04 -04:00
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
1998-04-15 17:32:50 -04:00
|
|
|
CONFIGURE_ARGS= --enable-shared --enable-static
|
2000-10-02 20:54:04 -04:00
|
|
|
|
2001-11-15 22:33:54 -05:00
|
|
|
ADDITIONAL_HEADER= jinclude.h jpegint.h
|
|
|
|
|
2002-03-17 22:36:35 -05:00
|
|
|
# define J_MAXMEM like "make J_MAXMEM=32" to limit max processing memory to 32Mb
|
|
|
|
.if defined(J_MAXMEM)
|
|
|
|
CONFIGURE_ARGS+= --enable-maxmem=$(J_MAXMEM)
|
|
|
|
.endif
|
|
|
|
|
1996-11-18 09:17:24 -05:00
|
|
|
MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
|
1994-11-06 03:18:01 -05:00
|
|
|
|
1995-06-24 07:42:32 -04:00
|
|
|
post-install:
|
1999-07-25 08:16:20 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-10-15 23:01:43 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/jpeg
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jpeg
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/jpeg
|
1999-07-25 08:16:20 -04:00
|
|
|
.endif
|
2001-11-15 22:33:54 -05:00
|
|
|
.for header in ${ADDITIONAL_HEADER}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${header} ${PREFIX}/include
|
|
|
|
.endfor
|
1995-06-24 07:42:32 -04:00
|
|
|
|
1994-11-06 03:18:01 -05:00
|
|
|
.include <bsd.port.mk>
|