1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/comms/gammu-devel/files/patch-cfg-Makefile.glo
Sam Lawrance e6f69f893b Update to 1.03.0
PR:		ports/89648
Submitted by:	Boris B. Samorodov <bsam@ipt.ru>
Approved by:	kirill@solaris.ru (maintainer, timeout 14+ days)
2005-12-08 11:19:54 +00:00

58 lines
2.4 KiB
Plaintext

--- cfg/Makefile.glo.orig Tue Apr 12 10:26:08 2005
+++ cfg/Makefile.glo Tue Sep 6 08:38:21 2005
@@ -122,7 +122,7 @@
@echo Making $<
@$(CC) -c $(CFLAGS) -I$(TOPDIR)/common/ $(CPPFLAGS) $*.c -o $*.o
-all: gammu
+all: gammu shared
$(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU)
@echo Linking gammu
@@ -225,12 +225,14 @@
@$(INSTALL) -m 0644 $(TOPDIR)/changelog $(DESTDIR)$(INSTALL_DOC_DIR)
@$(INSTALL) -m 0644 $(TOPDIR)/readme.txt $(DESTDIR)$(INSTALL_DOC_DIR)
@$(INSTALL) -m 0644 $(TOPDIR)/copying $(DESTDIR)$(INSTALL_DOC_DIR)
+
+installman:
@echo Installing man to $(DESTDIR)$(INSTALL_MAN_DIR)
@$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_MAN_DIR)
@$(INSTALL) -m 0644 $(TOPDIR)/docs/docs/english/gammu.1 $(DESTDIR)$(INSTALL_MAN_DIR)
@$(RM) $(DESTDIR)$(INSTALL_DOC_DIR)/docs/english/gammu.1
-install: uninstall all installdocs installlocales installonly
+install: uninstall all installdocs installman installlocales installlibonly
installonly: all
@echo Installing binaries to $(DESTDIR)$(INSTALL_BIN_DIR)
@@ -238,7 +240,7 @@
@$(INSTALL) -m 0755 $(TOPDIR)/gammu/gammu $(DESTDIR)$(INSTALL_BIN_DIR)
installshared: installlib
-installlib: uninstall makelib installdocs installlocales installlibonly
+installlib: uninstall makelib installman installdocs installlocales installlibonly
installlibonly: shared
@echo Installing binaries to $(DESTDIR)$(INSTALL_BIN_DIR)
@@ -247,8 +249,7 @@
@echo Installing shared library to $(DESTDIR)$(INSTALL_LIB_DIR)
@$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_LIB_DIR)
- @$(INSTALL) -m 0644 $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)
- @$(LN) -s libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so.$(SONAME_MAJOR)
+ @$(INSTALL) -m 0644 $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so.$(SONAME_MAJOR)
@$(LN) -s libGammu.so.$(SONAME_MAJOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so
@echo Installing static library to $(DESTDIR)$(INSTALL_LIB_DIR)
@@ -267,8 +268,8 @@
@$(INSTALL) -m 0644 cfg/config.h $(DESTDIR)$(INSTALL_H_DIR)/config.h
@echo Installing pkgconfig file
- @$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
- @$(INSTALL) -m 0644 cfg/pkgconfig/gammu.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+ @$(INSTALL) -m 0755 -d $(prefix)/libdata/pkgconfig
+ @$(INSTALL) -m 0644 cfg/pkgconfig/gammu.pc $(prefix)/libdata/pkgconfig
apidoc:
@if test -z "$(DOXYGEN)" ; then \