7330e34707
- ldconfig -> DYNLIBDIR - use PFRAG.shared for shared libs - add @comment with RCS id to PLISTs - add HOMEPAGE to DESCR - have install make relative symlinks
46 lines
2.0 KiB
Plaintext
46 lines
2.0 KiB
Plaintext
--- Makefile.orig Fri Nov 14 23:48:20 1997
|
|
+++ Makefile Tue Sep 12 23:38:39 2000
|
|
@@ -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
|
|
- -@if [ "$(SHARED_LIB)" != "" ]; then\
|
|
- cp FORMS/$(SHARED_LIB) $(LIB_DIR); \
|
|
- chmod $(LIBMODE) $(LIB_DIR)/$(SHARED_LIB);\
|
|
- if [ "$(SHARED_NAME)" != "" ]; then\
|
|
- $(LN) $(LIB_DIR)/$(SHARED_LIB) $(LIB_DIR)/$(SHARED_NAME);\
|
|
+ ${BSD_INSTALL_DATA} FORMS/$(FORMLIB) $(DESTDIR)$(LIB_DIR)
|
|
+ $(RANLIB) $(DESTDIR)$(LIB_DIR)/$(FORMLIB)
|
|
+ if [ "$(STATIC_NAME)" != "" ]; then \
|
|
+ cd $(DESTDIR)$(LIB_DIR) && $(LN) $(FORMLIB) $(STATIC_NAME); \
|
|
+ fi
|
|
+ ${BSD_INSTALL_PROGRAM} DESIGN/fdesign $(DESTDIR)$(BIN_DIR)
|
|
+ ${BSD_INSTALL_PROGRAM} fd2ps/fd2ps $(DESTDIR)$(BIN_DIR)
|
|
+ -@if [ "$(SHARED_LIB)" != "" ]; then \
|
|
+ ${BSD_INSTALL_DATA} FORMS/$(SHARED_LIB) $(DESTDIR)$(LIB_DIR); \
|
|
+ if [ "$(SHARED_NAME)" != "" ]; then \
|
|
+ cd $(DESTDIR)$(LIB_DIR) && $(LN) $(SHARED_LIB) $(SHARED_NAME); \
|
|
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
|
|
- @if [ ! -f $(MAN5_DIR)/forms.5 ]; then\
|
|
- ln -s $(MAN5_DIR)/xforms.5 $(MAN5_DIR)/forms.5;\
|
|
+ ${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 \
|
|
+ cd $(DESTDIR)$(MAN5_DIR) && $(LN) xforms.5 forms.5; \
|
|
fi
|
|
+
|
|
clean:
|
|
(cd DEMOS; make $@)
|
|
empty:
|