summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-28 02:43:07 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-28 02:43:07 +0000
commit6fa1c549ba85244a49b7162d9f337e376a8f364f (patch)
treefb4bab4623d1ac1cc83199dfe4e1901d9886b3c8
parentAdd missing manpage (diff)
Add missing directory and respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=69004
-rw-r--r--misc/ringtonetools/files/patch-aa44
-rw-r--r--misc/ringtonetools/pkg-plist1
2 files changed, 45 insertions, 0 deletions
diff --git a/misc/ringtonetools/files/patch-aa b/misc/ringtonetools/files/patch-aa
new file mode 100644
index 000000000000..ef20692ddd20
--- /dev/null
+++ b/misc/ringtonetools/files/patch-aa
@@ -0,0 +1,44 @@
+--- src/Makefile.orig Sun Oct 27 18:42:09 2002
++++ src/Makefile Sun Oct 27 18:42:54 2002
+@@ -1,24 +1,24 @@
+
+ #FLAGS = -DDEBUG
+-CC=gcc
++CC?=cc
+
+ default:
+- $(CC) -c bmp_parse.c $(FLAGS)
+- $(CC) -c fileoutput.c $(FLAGS)
+- $(CC) -c general.c $(FLAGS)
+- $(CC) -c kyocera.c $(FLAGS)
+- $(CC) -c motorola.c -Wall $(FLAGS)
+- $(CC) -c nokia.c -Wall $(FLAGS)
+- $(CC) -c parse_imelody.c -Wall $(FLAGS)
+- $(CC) -c parse_kws.c -Wall $(FLAGS)
+- $(CC) -c parse_logo.c -Wall $(FLAGS)
+- $(CC) -c parse_midi.c -Wall $(FLAGS)
+- $(CC) -c parse_rtttl.c -Wall $(FLAGS)
+- $(CC) -c rtttl.c -Wall $(FLAGS)
+- $(CC) -c samsung.c -Wall $(FLAGS)
+- $(CC) -c wav.c -Wall $(FLAGS)
+- $(CC) -c wav2pdb.c -Wall $(FLAGS)
+- $(CC) -o ringtonetools ringtonetools.c bmp_parse.o fileoutput.o \
++ $(CC) $(CFLAGS) -c bmp_parse.c $(FLAGS)
++ $(CC) $(CFLAGS) -c fileoutput.c $(FLAGS)
++ $(CC) $(CFLAGS) -c general.c $(FLAGS)
++ $(CC) $(CFLAGS) -c kyocera.c $(FLAGS)
++ $(CC) $(CFLAGS) -c motorola.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c nokia.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c parse_imelody.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c parse_kws.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c parse_logo.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c parse_midi.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c parse_rtttl.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c rtttl.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c samsung.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c wav.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -c wav2pdb.c -Wall $(FLAGS)
++ $(CC) $(CFLAGS) -o ringtonetools ringtonetools.c bmp_parse.o fileoutput.o \
+ general.o kyocera.o motorola.o nokia.o parse_imelody.o \
+ parse_kws.o parse_logo.o parse_midi.o parse_rtttl.o \
+ rtttl.o samsung.o wav.o wav2pdb.o -Wall $(FLAGS)
diff --git a/misc/ringtonetools/pkg-plist b/misc/ringtonetools/pkg-plist
index d871201e711e..23b9c7538114 100644
--- a/misc/ringtonetools/pkg-plist
+++ b/misc/ringtonetools/pkg-plist
@@ -4,5 +4,6 @@ share/ringtonetools/hemglass.mid
share/ringtonetools/ionian.rtttl
share/ringtonetools/usa.imelody
share/ringtonetools/yngwie_trilogy.rtttl
+@dirrm share/ringtonetools
%%PORTDOCS%%share/doc/ringtonetools/README
%%PORTDOCS%%@dirrm share/doc/ringtonetools