aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jbigkit/Makefile
blob: b0c45300529cccaa2192ee9133dbbb4c273c7288 (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: Makefile,v 1.2 1996/12/24 07:35:26 asami Exp $
#

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= ${WRKDIR}/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
    ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>