openbsd-ports/graphics/jbigkit/Makefile

38 lines
984 B
Makefile
Raw Normal View History

2002-10-26 20:01:15 -04:00
# $OpenBSD: Makefile,v 1.23 2002/10/27 00:01:16 naddy Exp $
# $FreeBSD: Makefile,v 1.5 1998/09/14 22:19:05 smace Exp $
COMMENT= "lossless image compression library"
DISTNAME= jbigkit-1.2
CATEGORIES= graphics
2002-10-26 20:01:15 -04: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>
2000-03-06 17:09:41 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FLAGS= CC="${CC}" CCFLAGS="${CFLAGS} -Wall"
FAKE_FLAGS= ${MAKE_FLAGS}
2000-02-10 19:37:15 -05:00
WRKDIST= ${WRKDIR}/jbigkit
2002-10-26 20:01:15 -04:00
REGRESS_TARGET= test
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jbig
${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.doc ${PREFIX}/share/doc/jbig
1999-12-27 01:12:08 -05:00
test: build
@cd ${WRKBUILD} && ${SETENV} LD_LIBRARY_PATH="${WRKBUILD}/libjbig" ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} test
.include <bsd.port.mk>
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
MAKE_ENV+= NO_SHARED_LIBS=Yes
.endif