2002-10-26 20:01:15 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2002/10/27 00:01:16 naddy Exp $
|
1999-05-08 15:17:39 -04:00
|
|
|
# $FreeBSD: Makefile,v 1.5 1998/09/14 22:19:05 smace Exp $
|
|
|
|
|
2001-04-13 19:46:11 -04:00
|
|
|
COMMENT= "lossless image compression library"
|
|
|
|
|
2000-06-10 02:08:22 -04:00
|
|
|
DISTNAME= jbigkit-1.2
|
1999-05-08 15:17:39 -04:00
|
|
|
CATEGORIES= graphics
|
2002-10-26 20:01:15 -04:00
|
|
|
|
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
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
1999-05-08 15:17:39 -04:00
|
|
|
|
2000-03-06 17:09:41 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-03-23 01:51:58 -05:00
|
|
|
MAKE_FLAGS= CC="${CC}" CCFLAGS="${CFLAGS} -Wall"
|
2001-04-13 19:46:11 -04:00
|
|
|
FAKE_FLAGS= ${MAKE_FLAGS}
|
2000-03-23 01:51:58 -05:00
|
|
|
|
2000-02-10 19:37:15 -05:00
|
|
|
WRKDIST= ${WRKDIR}/jbigkit
|
1999-05-08 15:17:39 -04:00
|
|
|
|
2002-10-26 20:01:15 -04:00
|
|
|
REGRESS_TARGET= test
|
|
|
|
|
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-06-10 01:51:59 -04:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} LD_LIBRARY_PATH="${WRKBUILD}/libjbig" ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} test
|
1999-05-08 15:17:39 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
|
2000-09-23 22:38:01 -04:00
|
|
|
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
|
2001-04-21 10:59:31 -04:00
|
|
|
MAKE_ENV+= NO_SHARED_LIBS=Yes
|
1999-05-08 15:17:39 -04:00
|
|
|
.endif
|