blob: 968c22a9f37872e963a69d6c89aae00a85b3895b (
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
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: mi
# $FreeBSD$
PORTNAME= jbigkit
PORTVERSION= 2.1
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
USE_LDCONFIG= yes
MANS= jbgtopbm.1 pbmtojbg.1
BINS= jbgtopbm pbmtojbg jbgtopbm85 pbmtojbg85
LIBA= libjbig.a libjbig85.a
LIBS= libjbig.so.2 libjbig85.so.1
DOCSDIR?= ${PREFIX}/share/doc/jbig
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} \
${BINS:S|^|${WRKSRC}/pbmtools/|} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} \
${MANS:S|^|${WRKSRC}/pbmtools/|} ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/libjbig/*.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} \
${LIBA:S|^|${WRKSRC}/libjbig/|} ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} \
${LIBS:S|^|${WRKSRC}/libjbig/|} ${STAGEDIR}${PREFIX}/lib
${LN} -sf libjbig.so.1 ${STAGEDIR}${PREFIX}/lib/libjbig.so
${LN} -sf libjbig85.so.1 ${STAGEDIR}${PREFIX}/lib/libjbig85.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.txt ${STAGEDIR}${DOCSDIR}
regression-test test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/libjbig ${MAKE} test
.include <bsd.port.mk>
|