audio/gsm: Moved man to share/man

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-28 14:12:55 +01:00
parent faef0c5d82
commit c7898c4115
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91
3 changed files with 29 additions and 17 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= gsm PORTNAME= gsm
DISTVERSION= 1.0.22 DISTVERSION= 1.0.22
PORTREVISION= 1
CATEGORIES= audio CATEGORIES= audio
MASTER_SITES= http://www.quut.com/gsm/ MASTER_SITES= http://www.quut.com/gsm/

View file

@ -1,6 +1,6 @@
--- Makefile.orig 2022-08-04 18:46:46 UTC --- Makefile.orig 2022-08-04 18:46:46 UTC
+++ Makefile +++ Makefile
@@ -43,8 +43,8 @@ @@ -43,8 +43,8 @@ WAV49 = -DWAV49
# CC = /usr/lang/acc # CC = /usr/lang/acc
# CCFLAGS = -c -O # CCFLAGS = -c -O
@ -11,7 +11,7 @@
LD = $(CC) LD = $(CC)
@@ -59,6 +59,7 @@ @@ -59,6 +59,7 @@ LD = $(CC)
######### Includes needed by $(CC) ######### Includes needed by $(CC)
# LDINC = -L/usr/gnu/lib/gcc-2.1/gcc-lib/sparc-sun-sunos4.1.2/2.1 # LDINC = -L/usr/gnu/lib/gcc-2.1/gcc-lib/sparc-sun-sunos4.1.2/2.1
@ -19,7 +19,7 @@
######### Library paths needed by $(LD) ######### Library paths needed by $(LD)
# LDLIB = -lgcc # LDLIB = -lgcc
@@ -71,7 +72,7 @@ @@ -71,7 +72,7 @@ LD = $(CC)
# Leave INSTALL_ROOT empty (or just don't execute "make install") to # Leave INSTALL_ROOT empty (or just don't execute "make install") to
# not install gsm and toast outside of this directory. # not install gsm and toast outside of this directory.
@ -28,16 +28,27 @@
# Where do you want to install the gsm library, header file, and manpages? # Where do you want to install the gsm library, header file, and manpages?
# #
@@ -80,7 +81,7 @@ @@ -80,8 +81,8 @@ GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
GSM_INSTALL_ROOT = $(INSTALL_ROOT) GSM_INSTALL_ROOT = $(INSTALL_ROOT)
GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
-GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc -GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc
-GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3
+GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/include +GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/include
GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3 +GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/share/man/man3
@@ -106,7 +107,7 @@ # Where do you want to install the toast binaries and their manpage?
@@ -91,7 +92,7 @@ TOAST_INSTALL_BIN = $(TOAST_INSTALL_ROOT)/bin
TOAST_INSTALL_ROOT = $(INSTALL_ROOT)
TOAST_INSTALL_BIN = $(TOAST_INSTALL_ROOT)/bin
-TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT)/man/man1
+TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT)/share/man/man1
# Other tools
@@ -106,7 +107,7 @@ RANLIB = ranlib
COMPRESSFLAGS = COMPRESSFLAGS =
# RANLIB = true # RANLIB = true
RANLIB = ranlib RANLIB = ranlib
@ -46,7 +57,7 @@
# #
# You shouldn't have to configure below this line if you're porting. # You shouldn't have to configure below this line if you're porting.
# #
@@ -129,17 +130,19 @@ @@ -129,17 +130,19 @@ INC = $(ROOT)/inc
# DEBUG = -DNDEBUG # DEBUG = -DNDEBUG
######### Remove -DNDEBUG to enable assertions. ######### Remove -DNDEBUG to enable assertions.
@ -68,7 +79,7 @@
TOAST = $(BIN)/toast TOAST = $(BIN)/toast
UNTOAST = $(BIN)/untoast UNTOAST = $(BIN)/untoast
@@ -257,7 +260,8 @@ @@ -257,7 +260,8 @@ GSM_INSTALL_TARGETS = \
# Install targets # Install targets
GSM_INSTALL_TARGETS = \ GSM_INSTALL_TARGETS = \
@ -78,7 +89,7 @@
$(GSM_INSTALL_INC)/gsm.h \ $(GSM_INSTALL_INC)/gsm.h \
$(GSM_INSTALL_MAN)/gsm.3 \ $(GSM_INSTALL_MAN)/gsm.3 \
$(GSM_INSTALL_MAN)/gsm_explode.3 \ $(GSM_INSTALL_MAN)/gsm_explode.3 \
@@ -272,14 +276,16 @@ @@ -272,14 +276,16 @@ TOAST_INSTALL_TARGETS = \
# Default rules # Default rules
@ -97,7 +108,7 @@
@-echo $(ROOT): Done. @-echo $(ROOT): Done.
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
@@ -299,26 +305,30 @@ @@ -299,26 +305,30 @@ install: toastinstall gsminstall
# The basic API: libgsm # The basic API: libgsm
@ -139,7 +150,7 @@
# The local bin and lib directories # The local bin and lib directories
$(BIN): $(BIN):
@@ -342,62 +352,59 @@ @@ -342,62 +352,59 @@ gsmuninstall:
gsmuninstall: gsmuninstall:
-if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \ -if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \
@ -230,7 +241,7 @@
# Distribution # Distribution
@@ -473,22 +480,22 @@ @@ -473,22 +480,22 @@ $(TST)/test-result: $(TST)/lin2cod $(TST)/cod2lin $(TO
$(TST)/test-result: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/run $(TST)/test-result: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/run
( cd $(TST); ./run ) ( cd $(TST); ./run )

View file

@ -5,8 +5,8 @@ include/gsm.h
lib/libgsm.a lib/libgsm.a
lib/libgsm.so lib/libgsm.so
lib/libgsm.so.1 lib/libgsm.so.1
man/man1/toast.1.gz share/man/man1/toast.1.gz
man/man3/gsm.3.gz share/man/man3/gsm.3.gz
man/man3/gsm_explode.3.gz share/man/man3/gsm_explode.3.gz
man/man3/gsm_option.3.gz share/man/man3/gsm_option.3.gz
man/man3/gsm_print.3.gz share/man/man3/gsm_print.3.gz