summaryrefslogtreecommitdiff
path: root/graphics/jpeg-mmx/Makefile
blob: b72f77a33b2740a1c43e79ff98b92e4f582e1312 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	jpeg
# Date created:		6 November 1994
# Whom:			smace
#
# $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
CATEGORIES=     graphics
MASTER_SITES=   ftp://ftp.uu.net/graphics/jpeg/
DISTNAME=       jpegsrc.v${PORTVERSION}

MAINTAINER=	jseger@FreeBSD.org

WRKSRC=         ${WRKDIR}/jpeg-6b
INSTALLS_SHLIB=	yes
CONFIGURE_ARGS=	--enable-shared --enable-static
CONFIGURE_ENV=	LIBTOOL=${LIBTOOL}
MAN1=		cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
USE_LIBTOOL=	yes

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/jpeg
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jpeg
	${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/jpeg
.endif

.include <bsd.port.mk>