aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jbigkit/Makefile
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-06-22 07:15:26 +0800
committerantoine <antoine@FreeBSD.org>2014-06-22 07:15:26 +0800
commitc8f1f148a0abb6104f71dbcb4d7d6eec35dbe1ca (patch)
treeb496d9d5ab2460e61407fe3eab326255988deda3 /graphics/jbigkit/Makefile
parent4c02a8ff25eb235dd3ee43cd614bf49d2357bcf0 (diff)
downloadfreebsd-ports-gnome-c8f1f148a0abb6104f71dbcb4d7d6eec35dbe1ca.tar.gz
freebsd-ports-gnome-c8f1f148a0abb6104f71dbcb4d7d6eec35dbe1ca.tar.zst
freebsd-ports-gnome-c8f1f148a0abb6104f71dbcb4d7d6eec35dbe1ca.zip
- Unbreak
- Package man pages - Convert to OPTIONS - Strip shared libs Pointyhats: mi@
Diffstat (limited to 'graphics/jbigkit/Makefile')
-rw-r--r--graphics/jbigkit/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/graphics/jbigkit/Makefile b/graphics/jbigkit/Makefile
index 63f179128f71..968c22a9f378 100644
--- a/graphics/jbigkit/Makefile
+++ b/graphics/jbigkit/Makefile
@@ -10,29 +10,32 @@ MAINTAINER= mi@aldan.algebra.com
COMMENT= Lossless compression for bi-level images such as scanned pages, faxes
USE_LDCONFIG= yes
-MAN1= jbgtopbm.1 pbmtojbg.1
-BINS= jbgtopbm pbmtojbg jbgtopbm85 pbmtojbg85
-LIBS= libjbig.a libjbig.so.2 libjbig85.a libjbig85.so.1
+MANS= jbgtopbm.1 pbmtojbg.1
+BINS= jbgtopbm pbmtojbg jbgtopbm85 pbmtojbg85
+LIBA= libjbig.a libjbig85.a
+LIBS= libjbig.so.2 libjbig85.so.1
DOCSDIR?= ${PREFIX}/share/doc/jbig
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} \
${BINS:S|^|${WRKSRC}/pbmtools/|} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} \
- ${MAN1:S|^|${WRKSRC}/pbmtools/|} ${STAGEDIR}${MANPREFIX}/man/man1
+ ${MANS:S|^|${WRKSRC}/pbmtools/|} ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/libjbig/*.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} \
+ ${LIBA:S|^|${WRKSRC}/libjbig/|} ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_LIB} \
${LIBS:S|^|${WRKSRC}/libjbig/|} ${STAGEDIR}${PREFIX}/lib
${LN} -sf libjbig.so.1 ${STAGEDIR}${PREFIX}/lib/libjbig.so
${LN} -sf libjbig85.so.1 ${STAGEDIR}${PREFIX}/lib/libjbig85.so
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.txt ${STAGEDIR}${DOCSDIR}
-.endif
regression-test test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/libjbig ${MAKE} test