Date: Sat, 1 Feb 2014 10:54:33 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342112 - in head/graphics/jbigkit: . files Message-ID: <201402011054.s11AsXM8020813@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sat Feb 1 10:54:33 2014 New Revision: 342112 URL: http://svnweb.freebsd.org/changeset/ports/342112 QAT: https://qat.redports.org/buildarchive/r342112/ Log: - Stage support Modified: head/graphics/jbigkit/Makefile head/graphics/jbigkit/files/patch-aa head/graphics/jbigkit/pkg-plist Modified: head/graphics/jbigkit/Makefile ============================================================================== --- head/graphics/jbigkit/Makefile Sat Feb 1 10:29:56 2014 (r342111) +++ head/graphics/jbigkit/Makefile Sat Feb 1 10:54:33 2014 (r342112) @@ -12,16 +12,11 @@ COMMENT= Lossless compression for bi-lev WRKSRC= ${WRKDIR}/${PORTNAME} USE_LDCONFIG= yes -MAN1= jbgtopbm.1 pbmtojbg.1 - DOCSDIR?= ${PREFIX}/share/doc/jbig -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.doc ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.doc ${STAGEDIR}${DOCSDIR} post-build test: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/libjbig ${MAKE} test Modified: head/graphics/jbigkit/files/patch-aa ============================================================================== --- head/graphics/jbigkit/files/patch-aa Sat Feb 1 10:29:56 2014 (r342111) +++ head/graphics/jbigkit/files/patch-aa Sat Feb 1 10:54:33 2014 (r342112) @@ -42,20 +42,20 @@ cp CHANGES $(HOME)/public_html/jbigkit/ + +install: -+ mkdir -p ${PREFIX}/bin ++ mkdir -p $(DESTDIR)${PREFIX}/bin + ${BSD_INSTALL_PROGRAM} pbmtools/jbgtopbm pbmtools/pbmtojbg \ -+ ${PREFIX}/bin -+ mkdir -p ${PREFIX}/man/man1 ++ $(DESTDIR)${PREFIX}/bin ++ mkdir -p $(DESTDIR)${PREFIX}/man/man1 + ${BSD_INSTALL_MAN} pbmtools/pbmtojbg.1 pbmtools/jbgtopbm.1 \ -+ ${PREFIX}/man/man1 -+ # mkdir -p ${PREFIX}/man/man5 ++ $(DESTDIR)${PREFIX}/man/man1 ++ # mkdir -p $(DESTDIR)${PREFIX}/man/man5 + # Not installing the pbm(5) man page, because BSD has its own + # install -c -m 644 -o bin -g bin pbmtools/pbm.5 ${PREFIX}/man/man5 + # Not installing the pgm(5) man page for it comes with netpbm port + # install -c -m 644 -o bin -g bin pbmtools/pgm.5 ${PREFIX}/man/man5 -+ mkdir -p ${PREFIX}/include -+ ${BSD_INSTALL_DATA} libjbig/jbig.h ${PREFIX}/include -+ mkdir -p ${PREFIX}/lib -+ ${BSD_INSTALL_DATA} libjbig/libjbig.a ${PREFIX}/lib -+ ${BSD_INSTALL_DATA} libjbig/libjbig.so.1 ${PREFIX}/lib -+ ln -sf libjbig.so.1 ${PREFIX}/lib/libjbig.so ++ mkdir -p $(DESTDIR)${PREFIX}/include ++ ${BSD_INSTALL_DATA} libjbig/jbig.h $(DESTDIR)${PREFIX}/include ++ mkdir -p $(DESTDIR)${PREFIX}/lib ++ ${BSD_INSTALL_DATA} libjbig/libjbig.a $(DESTDIR)${PREFIX}/lib ++ ${BSD_INSTALL_DATA} libjbig/libjbig.so.1 $(DESTDIR)${PREFIX}/lib ++ ln -sf libjbig.so.1 $(DESTDIR)${PREFIX}/lib/libjbig.so Modified: head/graphics/jbigkit/pkg-plist ============================================================================== --- head/graphics/jbigkit/pkg-plist Sat Feb 1 10:29:56 2014 (r342111) +++ head/graphics/jbigkit/pkg-plist Sat Feb 1 10:54:33 2014 (r342112) @@ -4,5 +4,7 @@ include/jbig.h lib/libjbig.a lib/libjbig.so lib/libjbig.so.1 +man/man1/jbgtopbm.1.gz +man/man1/pbmtojbg.1.gz %%PORTDOCS%%%%DOCSDIR%%/jbig.doc %%PORTDOCS%%@dirrm %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402011054.s11AsXM8020813>