mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Unbreak
- Package man pages - Convert to OPTIONS - Strip shared libs Pointyhats: mi@
This commit is contained in:
parent
e4d78fca39
commit
ecfecd96a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358756
@ -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
|
||||
|
@ -1,6 +1,7 @@
|
||||
--- Makefile 2014-03-27 14:47:15.000000000 -0400
|
||||
+++ Makefile 2014-04-08 08:37:59.000000000 -0400
|
||||
@@ -2,12 +2,10 @@
|
||||
--- ./Makefile.orig 2014-03-27 18:47:15.000000000 +0000
|
||||
+++ ./Makefile 2014-06-21 22:53:57.000000000 +0000
|
||||
@@ -1,24 +1,22 @@
|
||||
# Unix makefile for JBIG-KIT
|
||||
|
||||
# Select an ANSI/ISO C compiler here, GNU gcc is recommended
|
||||
-CC = gcc
|
||||
@ -15,3 +16,16 @@
|
||||
-
|
||||
VERSION=2.1
|
||||
|
||||
all: lib pbm
|
||||
@echo "Enter 'make test' in order to start some automatic tests."
|
||||
|
||||
lib:
|
||||
- cd libjbig && $(MAKE) -e
|
||||
+ cd libjbig && $(MAKE)
|
||||
|
||||
pbm: lib
|
||||
- cd pbmtools && $(MAKE) -e
|
||||
+ cd pbmtools && $(MAKE)
|
||||
|
||||
test: lib pbm
|
||||
cd libjbig && $(MAKE) test
|
||||
|
@ -11,5 +11,7 @@ lib/libjbig.so.2
|
||||
lib/libjbig85.a
|
||||
lib/libjbig85.so
|
||||
lib/libjbig85.so.1
|
||||
man/man1/jbgtopbm.1.gz
|
||||
man/man1/pbmtojbg.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/jbig.txt
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user