aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jbigkit/Makefile
blob: a71a09d4fb33c3ef1b40c57ad892a8a2f1ff4601 (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
# New ports collection makefile for:    jbig
# Date created:     19 November 1996
# Whom:         mi
#
# $FreeBSD$
#

PORTNAME=   jbigkit
PORTVERSION=    1.4
CATEGORIES= graphics
MASTER_SITES=   http://www.cl.cam.ac.uk/~mgk25/download/

MAINTAINER= mi@aldan.algebra.com
COMMENT=    Lossless compression for bi-level images such as scanned pages, faxes

WRKSRC= ${WRKDIR}/${PORTNAME}

INSTALLS_SHLIB= yes

MAN1=   jbgtopbm.1 pbmtojbg.1

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

post-build test:
    cd ${WRKSRC} && env LD_LIBRARY_PATH=${WRKSRC}/libjbig ${MAKE} test

.include <bsd.port.mk>