openbsd-ports/x11/xforms/patches/patch-aa

44 lines
1.9 KiB
Plaintext
Raw Normal View History

2000-03-23 20:24:35 -05:00
--- Makefile.orig Sat Nov 15 05:08:26 1997
+++ Makefile Fri Mar 24 02:22:35 2000
1998-07-08 05:47:15 -04:00
@@ -25,24 +25,27 @@
@(cd DEMOS; make)
install:
- cp FORMS/$(FORMLIB) $(LIB_DIR);chmod $(LIBMODE) $(LIB_DIR)/$(FORMLIB)
- cp DESIGN/fdesign $(BIN_DIR); chmod $(BINMODE) $(BIN_DIR)/fdesign
- cp fd2ps/fd2ps $(BIN_DIR); chmod $(BINMODE) $(BIN_DIR)/fd2ps
2000-03-23 20:24:35 -05:00
+ ${BSD_INSTALL_DATA} FORMS/$(FORMLIB) $(DESTDIR)$(LIB_DIR)
+ $(RANLIB) $(DESTDIR)$(LIB_DIR)/$(FORMLIB)
1998-07-08 05:47:15 -04:00
+ if [ "$(STATIC_NAME)" != "" ]; then\
2000-03-23 20:24:35 -05:00
+ $(LN) $(LIB_DIR)/$(FORMLIB) $(DESTDIR)$(LIB_DIR)/$(STATIC_NAME);\
1998-07-08 05:47:15 -04:00
+ fi
2000-03-23 20:24:35 -05:00
+ ${BSD_INSTALL_PROGRAM} DESIGN/fdesign $(DESTDIR)$(BIN_DIR)
+ ${BSD_INSTALL_PROGRAM} fd2ps/fd2ps $(DESTDIR)$(BIN_DIR)
1998-07-08 05:47:15 -04:00
-@if [ "$(SHARED_LIB)" != "" ]; then\
- cp FORMS/$(SHARED_LIB) $(LIB_DIR); \
- chmod $(LIBMODE) $(LIB_DIR)/$(SHARED_LIB);\
2000-03-23 20:24:35 -05:00
+ ${BSD_INSTALL_DATA} FORMS/$(SHARED_LIB) $(DESTDIR)$(LIB_DIR); \
1998-07-08 05:47:15 -04:00
if [ "$(SHARED_NAME)" != "" ]; then\
2000-03-23 20:24:35 -05:00
- $(LN) $(LIB_DIR)/$(SHARED_LIB) $(LIB_DIR)/$(SHARED_NAME);\
+ $(LN) $(LIB_DIR)/$(SHARED_LIB) $(DESTDIR)$(LIB_DIR)/$(SHARED_NAME);\
1998-07-08 05:47:15 -04:00
fi \
fi
- cp FORMS/$(FORMHEADER) $(HEADER_DIR);\
- chmod $(HEADERMODE) $(HEADER_DIR)/$(FORMHEADER)
- cp FORMS/xforms.5 $(MAN5_DIR); chmod $(MANMODE) $(MAN5_DIR)/xforms.5
- cp DESIGN/fdesign.1 $(MAN1_DIR); chmod $(MANMODE) $(MAN1_DIR)/fdesign.1
- cp fd2ps/fd2ps.1 $(MAN1_DIR); chmod $(MANMODE) $(MAN1_DIR)/fd2ps.1
2000-03-23 20:24:35 -05:00
- @if [ ! -f $(MAN5_DIR)/forms.5 ]; then\
1998-07-08 05:47:15 -04:00
- ln -s $(MAN5_DIR)/xforms.5 $(MAN5_DIR)/forms.5;\
2000-03-23 20:24:35 -05:00
+ ${BSD_INSTALL_DATA} FORMS/$(FORMHEADER) $(DESTDIR)$(HEADER_DIR)
+ ${BSD_INSTALL_MAN} FORMS/xforms.5 $(DESTDIR)$(MAN5_DIR)
+ ${BSD_INSTALL_MAN} DESIGN/fdesign.1 $(DESTDIR)$(MAN1_DIR)
+ ${BSD_INSTALL_MAN} fd2ps/fd2ps.1 $(DESTDIR)$(MAN1_DIR)
+ @if [ ! -f $(DESTDIR)$(MAN5_DIR)/forms.5 ]; then\
+ $(LN) $(MAN5_DIR)/xforms.5 $(DESTDIR)$(MAN5_DIR)/forms.5;\
1998-07-08 05:47:15 -04:00
fi
+
clean:
(cd DEMOS; make $@)
empty: