opnsense-ports/graphics/urt/files/patch-man__makefile.src
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

48 lines
1.2 KiB
Text

--- man/makefile.src.orig Fri Feb 28 06:26:52 1992
+++ man/makefile.src Sat Dec 28 00:43:57 2002
@@ -211,39 +211,35 @@
# Put the manual pages into a global location
install: install-1 install-3 install-5
- touch install
install-1: $(PAGES1)
@-sh -c "if test '$(DEST)X' != X ; then \
for i in $? ; do \
dpgm=\`basename \$$i .1\`.$(SUFF1) ; \
- echo cp \$$i $(DEST1)/\$$dpgm ; \
- cp \$$i $(DEST1)/\$$dpgm ; \
+ echo install \$$i $(DEST1)/\$$dpgm ; \
+ ${BSD_INSTALL_MAN} \$$i $(DEST1)/\$$dpgm ; \
done ; \
else \
true ; \
fi"
- touch install-1
install-3: $(PAGES3)
@-sh -c "if test '$(DEST)X' != X ; then \
for i in $? ; do \
dpgm=${PAGE3_INSTALL_NAME} ; \
- echo cp \$$i $(DEST3)/\$$dpgm ; \
- cp \$$i $(DEST3)/\$$dpgm ; \
+ echo install \$$i $(DEST3)/\$$dpgm ; \
+ ${BSD_INSTALL_MAN} \$$i $(DEST3)/\$$dpgm ; \
done ; \
else \
true ; \
fi"
- touch install-3
install-5: man5/*.5
@-sh -c "if test $(DEST)X != X; then \
- echo cp $? $(DEST5); \
- cp $? $(DEST5); \
+ echo install $? $(DEST5); \
+ ${BSD_INSTALL_MAN} $? $(DEST5); \
else true; \
fi"
- touch install-5
# Clean up installed man pages
pristine: