mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
150924d776
PR: 8507
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
--- Makefile.orig Mon Oct 12 11:12:48 1998
|
|
+++ Makefile Sun Nov 1 22:16:26 1998
|
|
@@ -3,11 +3,12 @@
|
|
|
|
# Select an ANSI/ISO C compiler here, GNU gcc is recommended
|
|
-CC = gcc
|
|
+#CC = gcc
|
|
|
|
# Options for the compiler: A high optimization level is suggested
|
|
-CCFLAGS = -O2 -W
|
|
+#CCFLAGS = -O2 -W
|
|
#CCFLAGS = -O -g -W -Wall -ansi -pedantic #-DDEBUG # developer only
|
|
|
|
-CFLAGS = $(CCFLAGS) -I../libjbig
|
|
+CFLAGS += -I../libjbig
|
|
+
|
|
|
|
VERSION=1.0
|
|
@@ -46,2 +47,24 @@
|
|
$(DISTUID)@$(DISTHOST):$(DISTPATH)/jbigkit-$(VERSION)-announce.txt
|
|
mv ../jbigkit-$(VERSION).tar.gz $(HOME)/.www/download/
|
|
+
|
|
+install:
|
|
+ mkdir -p ${PREFIX}/bin
|
|
+ install -c -s -m 755 -o bin -g bin pbmtools/jbgtopbm ${PREFIX}/bin
|
|
+ install -c -s -m 755 -o bin -g bin pbmtools/pbmtojbg ${PREFIX}/bin
|
|
+ mkdir -p ${PREFIX}/man/man1
|
|
+ install -c -m 644 -o bin -g bin pbmtools/pbmtojbg.1 ${PREFIX}/man/man1
|
|
+ install -c -m 644 -o bin -g bin pbmtools/jbgtopbm.1 ${PREFIX}/man/man1
|
|
+ mkdir -p ${PREFIX}/man/man5
|
|
+ install -c -m 644 -o bin -g bin pbmtools/pbm.5 ${PREFIX}/man/man5
|
|
+ install -c -m 644 -o bin -g bin pbmtools/pgm.5 ${PREFIX}/man/man5
|
|
+ mkdir -p ${PREFIX}/include
|
|
+ install -c -m 644 -o bin -g bin libjbig/jbig.h ${PREFIX}/include
|
|
+ mkdir -p ${PREFIX}/lib
|
|
+ install -c -m 644 -o bin -g bin libjbig/libjbig.a ${PREFIX}/lib
|
|
+.if ${PORTOBJFORMAT} == elf
|
|
+ install -c -m 644 -o bin -g bin libjbig/libjbig.so.1 ${PREFIX}/lib
|
|
+ (cd ${PREFIX}/lib; ln -sf libjbig.so.1 libjbig.so)
|
|
+.else
|
|
+ install -c -m 644 -o bin -g bin libjbig/libjbig.so.1.0 ${PREFIX}/lib
|
|
+ (cd ${PREFIX}/lib; ln -sf libjbig.so.1.0 libjbig.so)
|
|
+.endif
|