2000-02-15 00:03:51 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2000/02/15 05:04:33 turan Exp $
|
1999-05-08 15:17:39 -04:00
|
|
|
# $FreeBSD: Makefile,v 1.5 1998/09/14 22:19:05 smace Exp $
|
|
|
|
|
1999-12-27 01:12:08 -05:00
|
|
|
DISTNAME= jbigkit-1.1
|
1999-05-08 15:17:39 -04:00
|
|
|
CATEGORIES= graphics
|
2000-02-09 10:59:25 -05:00
|
|
|
MASTER_SITES= ftp://ftp.informatik.uni-erlangen.de/local/cip/mskuhn/ISO/JBIG/ \
|
|
|
|
http://www.cl.cam.ac.uk/~mgk25/download/
|
2000-02-10 19:37:15 -05:00
|
|
|
NEED_VERSION= 1.191
|
1999-05-08 15:17:39 -04:00
|
|
|
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
|
2000-02-12 03:02:07 -05:00
|
|
|
LICENSE_TYPE= GPL
|
2000-02-15 00:03:51 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= YES
|
|
|
|
PERMIT_PACKAGE_FTP= YES
|
|
|
|
PERMIT_DISTFILES_CDROM= YES
|
|
|
|
PERMIT_DISTFILES_FTP= YES
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-02-10 19:37:15 -05:00
|
|
|
WRKDIST= ${WRKDIR}/jbigkit
|
1999-05-08 15:17:39 -04:00
|
|
|
|
|
|
|
post-install:
|
2000-02-09 10:59:25 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jbig
|
1999-05-08 15:17:39 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.doc ${PREFIX}/share/doc/jbig
|
1999-12-27 01:12:08 -05:00
|
|
|
@${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
test: build
|
2000-02-09 10:59:25 -05:00
|
|
|
@cd ${WRKSRC} && env LD_LIBRARY_PATH="${WRKSRC}/libjbig" make test
|
1999-05-08 15:17:39 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
|
1999-12-27 01:12:08 -05:00
|
|
|
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:U} == YES
|
|
|
|
MAKE_ENV= NO_SHARED_LIBS=Yes
|
1999-05-08 15:17:39 -04:00
|
|
|
.endif
|