pkgsrc/graphics/tiff/patches/patch-ae

37 lines
1.4 KiB
Text

$NetBSD: patch-ae,v 1.8 2004/04/27 20:38:48 tv Exp $
--- man/Makefile.in.orig Mon Dec 22 03:22:15 2003
+++ man/Makefile.in
@@ -363,9 +363,7 @@ apps/Makefile:
${ECHO} 'install:'; \
for i in *.1; do \
f=${MANAPPNAME}; \
- ${ECHO} ' cd ..; ${INSTALL} -m 444 \
- -F $${DESTDIR}${MAN}/${MANAPPS} \
- -idb tiff.man.tools -src' apps/"$$i" '-O' "$$f"; \
+ ${ECHO} ' ${BSD_INSTALL_DATA}' $$i ${MAN}/${MANAPPS}/$$f; \
done \
)>apps/Makefile
lib/Makefile:
@@ -376,17 +374,15 @@ lib/Makefile:
${ECHO} 'install:'; \
for i in *.3t; do \
f=${MANLIBNAME}; \
- ${ECHO} ' cd ..; ${INSTALL} -m 444 \
- -F $${DESTDIR}${MAN}/${MANLIB} \
- -idb tiff.man.dev -src' lib/"$$i" '-O' "$$f"; \
+ ${ECHO} ' ${BSD_INSTALL_DATA}' $$i ${MAN}/${MANLIB}/$$f; \
done \
)>lib/Makefile
install: all
- ${INSTALL} -m 755 -dir -idb tiff.man.tools ${DESTDIR}${MAN}
- ${INSTALL} -m 755 -dir -idb tiff.man.tools ${DESTDIR}${MAN}/${MANAPPS}
+ ${INSTALL} -m ${PKGDIRMODE} -dir -idb tiff.man.tools ${DESTDIR}${MAN}
+ ${INSTALL} -m ${PKGDIRMODE} -dir -idb tiff.man.tools ${DESTDIR}${MAN}/${MANAPPS}
cd apps; ${MAKE} -${MAKEFLAGS} install
- ${INSTALL} -m 755 -dir -idb tiff.man.dev ${DESTDIR}${MAN}/${MANLIB}
+ ${INSTALL} -m ${PKGDIRMODE} -dir -idb tiff.man.dev ${DESTDIR}${MAN}/${MANLIB}
cd lib; ${MAKE} -${MAKEFLAGS} install
clean: