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

DISTNAME=   jbigkit-1.1
CATEGORIES= graphics
MASTER_SITES=   ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/JBIG/

MAINTAINER= mi@aldan.algebra.com

WRKSRC= ${WRKDIR}/jbigkit
MAN1=   jbgtopbm.1 pbmtojbg.1
MAN5=   pbm.5 pgm.5

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/jbig
    ${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.doc ${PREFIX}/share/doc/jbig
.endif
    ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

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

.include <bsd.port.mk>