aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jbigkit/Makefile
blob: 49c41a381679e4dc471ca881b52d1e4a6126d493 (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
# Version required:     0.9
# Date created:     19 November 1996
# Whom:         mi
#
# $Id$
#

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

MAINTAINER= mi@aldan.ziplink.net

# Yes, CCFLAGS, not CFLAGS! -mi
MAKE_FLAGS= CCFLAGS="${CFLAGS}" CC="${CC}"
WRKSRC= work/jbigkit
MAN1=   jbgtopbm.1 pbmtojbg.1
MAN5=   pbm.5

post-build:
    cd $(WRKSRC); make test

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

.include <bsd.port.mk>