- fix URL for one of the dist sites that has been reorganized and add

another dist site
- mkdir -> ${INSTALL_DATA_DIR}
This commit is contained in:
brad 2000-02-09 15:59:25 +00:00
parent dce5acf88b
commit d2d18f8769

View File

@ -1,21 +1,22 @@
# $OpenBSD: Makefile,v 1.3 1999/12/28 22:50:29 brad Exp $
# $OpenBSD: Makefile,v 1.4 2000/02/09 15:59:25 brad Exp $
# $FreeBSD: Makefile,v 1.5 1998/09/14 22:19:05 smace Exp $
DISTNAME= jbigkit-1.1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/JBIG/
MASTER_SITES= ftp://ftp.informatik.uni-erlangen.de/local/cip/mskuhn/ISO/JBIG/ \
http://www.cl.cam.ac.uk/~mgk25/download/
MAINTAINER= brad@openbsd.org
WRKSRC= ${WRKDIR}/jbigkit
post-install:
@mkdir -p ${PREFIX}/share/doc/jbig
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jbig
${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.doc ${PREFIX}/share/doc/jbig
@${LDCONFIG} -m ${PREFIX}/lib
test: build
@cd ${WRKSRC} && env LD_LIBRARY_PATH=${WRKSRC}/libjbig make test
@cd ${WRKSRC} && env LD_LIBRARY_PATH="${WRKSRC}/libjbig" make test
.include <bsd.port.mk>