forked from Lainports/freebsd-ports
21 lines
670 B
Text
21 lines
670 B
Text
--- Makefile.orig 1997-06-06 11:45:35 UTC
|
|
+++ Makefile
|
|
@@ -33,15 +33,15 @@ yaps.doc: yaps.html
|
|
lynx -cfg=/dev/null -nolist -dump $< > $@
|
|
|
|
install: $(DSTFLE) $(CFGFILE)
|
|
- if [ ! -d $(YAPS_LIBDIR) ]; then \
|
|
- install -d -m 755 -o $(YAPS_USER) -g $(YAPS_GROUP) $(YAPS_LIBDIR) ; \
|
|
+ if [ ! -d $(DESTDIR)$(YAPS_LIBDIR) ]; then \
|
|
+ install -d -m 755 -o $(YAPS_USER) -g $(YAPS_GROUP) $(DESTDIR)$(YAPS_LIBDIR) ; \
|
|
fi
|
|
@if [ -f contrib/Makefile ]; then \
|
|
$(MAKE) -C contrib install ; \
|
|
fi
|
|
|
|
$(DSTFLE): yaps
|
|
- install -o $(YAPS_USER) -g $(YAPS_GROUP) -m $(YAPS_MODE) -s yaps $@
|
|
+ install -m 711 -s yaps $(DESTDIR)$@
|
|
|
|
$(CFGFILE): yaps.rc
|
|
@if [ ! -f $@ ]; then \
|