2000-06-20 13:32:28 -04:00
|
|
|
--- Makefile.orig Sat Apr 8 07:19:41 2000
|
2000-09-23 22:38:01 -04:00
|
|
|
+++ Makefile Sat Sep 23 22:23:53 2000
|
|
|
|
@@ -16,7 +16,7 @@
|
1999-12-27 01:12:08 -05:00
|
|
|
@echo "Enter 'make test' in order to start some automatic tests."
|
|
|
|
|
|
|
|
lib:
|
|
|
|
- (cd libjbig; make "CC=$(CC)" "CFLAGS=$(CFLAGS)")
|
|
|
|
+ (cd libjbig; make "CC=$(CC)" "CFLAGS=$(CFLAGS)" "VERSION=$(VERSION)")
|
|
|
|
|
|
|
|
pbm: lib
|
|
|
|
(cd pbmtools; make "CC=$(CC)" "CFLAGS=$(CFLAGS)")
|
2000-09-23 22:38:01 -04:00
|
|
|
@@ -45,3 +45,16 @@
|
1999-05-08 15:17:39 -04:00
|
|
|
scp ANNOUNCE \
|
|
|
|
$(DISTUID)@$(DISTHOST):$(DISTPATH)/jbigkit-$(VERSION)-announce.txt
|
|
|
|
mv ../jbigkit-$(VERSION).tar.gz $(HOME)/.www/download/
|
|
|
|
+
|
|
|
|
+install:
|
2000-03-23 01:51:58 -05:00
|
|
|
+ ${BSD_INSTALL_PROGRAM_DIR} ${PREFIX}/bin
|
|
|
|
+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/include
|
|
|
|
+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/lib
|
|
|
|
+ ${BSD_INSTALL_MAN_DIR} ${PREFIX}/man/man1
|
|
|
|
+ cd pbmtools; ${BSD_INSTALL_PROGRAM} jbgtopbm pbmtojbg ${PREFIX}/bin; \
|
2000-06-20 15:50:27 -04:00
|
|
|
+ ${BSD_INSTALL_MAN} jbgtopbm.1 pbmtojbg.1 ${PREFIX}/man/man1
|
2000-03-23 01:51:58 -05:00
|
|
|
+ ${BSD_INSTALL_DATA} libjbig/jbig.h ${PREFIX}/include
|
|
|
|
+ ${BSD_INSTALL_DATA} libjbig/libjbig.a ${PREFIX}/lib
|
1999-12-27 01:12:08 -05:00
|
|
|
+ @if [ -f libjbig/libjbig.so.$(VERSION) ]; then \
|
2000-09-23 22:38:01 -04:00
|
|
|
+ ${BSD_INSTALL_DATA} libjbig/libjbig.so.$(VERSION) ${PREFIX}/lib; \
|
1999-12-27 01:12:08 -05:00
|
|
|
+ fi
|