1 ############################################################################### |
1 ############################################################################### |
2 # |
2 # |
3 # xfs - X11 font server |
3 # xfs - X11 font server |
4 # |
4 # |
5 # Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved. |
5 # Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved. |
6 # |
6 # |
7 # Permission is hereby granted, free of charge, to any person obtaining a |
7 # Permission is hereby granted, free of charge, to any person obtaining a |
8 # copy of this software and associated documentation files (the "Software"), |
8 # copy of this software and associated documentation files (the "Software"), |
9 # to deal in the Software without restriction, including without limitation |
9 # to deal in the Software without restriction, including without limitation |
10 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
10 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
39 # Patches to apply to source after unpacking, in order |
39 # Patches to apply to source after unpacking, in order |
40 SOURCE_PATCHES += smf-manpage.patch,-p1 |
40 SOURCE_PATCHES += smf-manpage.patch,-p1 |
41 SOURCE_PATCHES += config-warning.patch |
41 SOURCE_PATCHES += config-warning.patch |
42 |
42 |
43 # Man pages to apply Sun footer to & attributes to list |
43 # Man pages to apply Sun footer to & attributes to list |
44 SUNTOUCHED_MANPAGES=man/xfs.man |
44 SUNTOUCHED_MANPAGES=man/xfs.man man/fsadmin.1 |
45 MODULE_STABILITY=Committed |
45 MODULE_STABILITY=Committed |
46 |
46 |
47 # pkg(5) name we deliver the files in (override default) |
47 # pkg(5) name we deliver the files in (override default) |
48 MODULE_PKGNAME=x11/xfs |
48 MODULE_PKGNAME=x11/xfs |
49 MODULE_PKGNAME_SET=yes |
49 MODULE_PKGNAME_SET=yes |
87 |
87 |
88 install_smf: check_smf |
88 install_smf: check_smf |
89 mkdir -p $(PROTODIR)$(X11_SMF_MANIFEST_DIR) |
89 mkdir -p $(PROTODIR)$(X11_SMF_MANIFEST_DIR) |
90 $(INSTALL_SCRIPT) -m 0444 xfs.xml $(PROTODIR)$(X11_SMF_MANIFEST_DIR) |
90 $(INSTALL_SCRIPT) -m 0444 xfs.xml $(PROTODIR)$(X11_SMF_MANIFEST_DIR) |
91 |
91 |
92 install_fsadmin: |
92 $(SOURCE_ADD_TARGET): $(SOURCE_DIR)/man/fsadmin.1 |
|
93 |
|
94 $(SOURCE_DIR)/man/fsadmin.1: $(SOURCE_INIT_TARGET) |
|
95 ln -sf ../../fsadmin.1 $@ |
|
96 |
|
97 install_fsadmin: $(FIXED_MAN_TARGET) |
93 mkdir -p $(PROTODIR)$(MODULE_SBIN_DIR) \ |
98 mkdir -p $(PROTODIR)$(MODULE_SBIN_DIR) \ |
94 $(PROTODIR)$(MODULE_MAN_DIR)/man1 |
99 $(PROTODIR)$(MODULE_MAN_DIR)/man1 |
95 $(INSTALL_SCRIPT) -m 0755 fsadmin $(PROTODIR)$(MODULE_SBIN_DIR)/fsadmin |
100 $(INSTALL_SCRIPT) -m 0755 fsadmin $(PROTODIR)$(MODULE_SBIN_DIR)/fsadmin |
96 $(INSTALL_SCRIPT) -m 0444 fsadmin.1 $(PROTODIR)$(MODULE_MAN_DIR)/man1/ |
101 $(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/man/fsadmin.1 \ |
|
102 $(PROTODIR)$(MODULE_MAN_DIR)/man1/ |
97 |
103 |
98 # Special compatibility link from /usr/X11/bin/fsadmin to /usr/sbin/fsadmin |
104 # Special compatibility link from /usr/X11/bin/fsadmin to /usr/sbin/fsadmin |
99 install: $(X11_BINCOMPAT_DIR)/fsadmin |
105 install: $(X11_BINCOMPAT_DIR)/fsadmin |
100 |
106 |
101 $(X11_BINCOMPAT_DIR)/fsadmin: $(X11_BINCOMPAT_DIR) |
107 $(X11_BINCOMPAT_DIR)/fsadmin: $(X11_BINCOMPAT_DIR) |