diff options
author | Will Andrews <will@FreeBSD.org> | 2000-06-09 22:48:25 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-06-09 22:48:25 +0000 |
commit | 55940aa22f488d8865286485d8edb4659d4222c1 (patch) | |
tree | 370c74a3705afc4bf33c685074a0048c1125ee15 /graphics/jbigkit | |
parent | Ooops, I forgot that we need bsd.port.pre.mk before we can use FILESDIR. (diff) |
Minor clenaups. Use BSD_INSTALL_* macros.
PR: 19157
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> via MAINTAINER
Notes
Notes:
svn path=/head/; revision=29482
Diffstat (limited to 'graphics/jbigkit')
-rw-r--r-- | graphics/jbigkit/Makefile | 3 | ||||
-rw-r--r-- | graphics/jbigkit/files/patch-aa | 27 |
2 files changed, 15 insertions, 15 deletions
diff --git a/graphics/jbigkit/Makefile b/graphics/jbigkit/Makefile index a2e490a2663a..beeaddb4f8eb 100644 --- a/graphics/jbigkit/Makefile +++ b/graphics/jbigkit/Makefile @@ -12,9 +12,8 @@ MASTER_SITES= ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/JBIG/ MAINTAINER= mi@aldan.algebra.com -WRKSRC= ${WRKDIR}/jbigkit +WRKSRC= ${WRKDIR}/${PORTNAME} MAN1= jbgtopbm.1 pbmtojbg.1 -MAN5= pgm.5 post-install: .if !defined(NOPORTDOCS) diff --git a/graphics/jbigkit/files/patch-aa b/graphics/jbigkit/files/patch-aa index d6dacafe86da..b029aa06c113 100644 --- a/graphics/jbigkit/files/patch-aa +++ b/graphics/jbigkit/files/patch-aa @@ -16,29 +16,30 @@ + VERSION=1.0 -@@ -46,2 +47,25 @@ +@@ -46,2 +47,26 @@ $(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 ++ ${BSD_INSTALL_PROGRAM} pbmtools/jbgtopbm 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 ++ ${BSD_INSTALL_MAN} pbmtools/pbmtojbg.1 pbmtools/jbgtopbm.1 \ ++ ${PREFIX}/man/man1 ++ # mkdir -p ${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 -+ install -c -m 644 -o bin -g bin pbmtools/pgm.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 -+ install -c -m 644 -o bin -g bin libjbig/jbig.h ${PREFIX}/include ++ ${BSD_INSTALL_DATA} libjbig/jbig.h ${PREFIX}/include + mkdir -p ${PREFIX}/lib -+ install -c -m 644 -o bin -g bin libjbig/libjbig.a ${PREFIX}/lib ++ ${BSD_INSTALL_DATA} 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) ++ ${BSD_INSTALL_DATA} libjbig/libjbig.so.1 ${PREFIX}/lib ++ ln -sf libjbig.so.1 ${PREFIX}/lib/libjbig.so +.else -+ install -c -m 644 -o bin -g bin libjbig/libjbig.so.1.1 ${PREFIX}/lib -+ (cd ${PREFIX}/lib; ln -sf libjbig.so.1.1 libjbig.so) ++ ${BSD_INSTALL_DATA} libjbig/libjbig.so.1.1 ${PREFIX}/lib ++ ln -sf libjbig.so.1.1 ${PREFIX}/lib/libjbig.so +.endif |