freebsd-ports/graphics/jpeg/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: jpeg
# Date created: 6 November 1994
# Whom: smace
#
1999-08-25 02:16:32 -04:00
# $FreeBSD$
#
# PLEASE update print/ghostscript5 (there's a symlink that uses a hardwired
# version number) when updating this port. Thank you.
PORTNAME= jpeg
PORTVERSION= 6b
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.uu.net/graphics/jpeg/
DISTNAME= jpegsrc.v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
1998-04-15 17:32:50 -04:00
WRKSRC= ${WRKDIR}/jpeg-6b
2000-10-02 20:54:04 -04:00
USE_LIBTOOL= yes
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
ADDITIONAL_HEADER= jinclude.h jpegint.h
# 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
MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
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
.for header in ${ADDITIONAL_HEADER}
@${INSTALL_DATA} ${WRKSRC}/${header} ${PREFIX}/include
.endfor
.include <bsd.port.mk>