2000-03-24 17:11:32 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2000/03/24 22:11:45 espie 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-03-24 17:11:32 -05:00
|
|
|
NEED_VERSION= 1.218
|
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-03-06 17:09:41 -05:00
|
|
|
|
1999-05-08 15:17:39 -04:00
|
|
|
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
|
2000-03-06 17:09:41 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
FAKE= Yes
|
|
|
|
|
|
|
|
NO_CONFIGURE= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-03-23 01:51:58 -05:00
|
|
|
MAKE_FLAGS= CC="${CC}" CCFLAGS="${CFLAGS} -Wall"
|
|
|
|
|
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
|
|
|
|
|
|
|
test: build
|
2000-03-23 01:51:58 -05:00
|
|
|
@cd ${WRKSRC} && env LD_LIBRARY_PATH="${WRKSRC}/libjbig" make ${MAKE_FLAGS} -f ${MAKE_FILE} 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
|