Lines 1-5
Link Here
|
1 |
--- mkfiles/freebsd.orig Thu May 30 03:58:51 2002 |
1 |
--- mkfiles/freebsd.orig Fri Jun 7 06:31:56 2002 |
2 |
+++ mkfiles/freebsd Fri May 31 21:18:56 2002 |
2 |
+++ mkfiles/freebsd Sat Jun 8 09:27:02 2002 |
3 |
@@ -6,8 +6,8 @@ |
3 |
@@ -6,8 +6,8 @@ |
4 |
# if you wish you may change PREFIX to be /usr/local, |
4 |
# if you wish you may change PREFIX to be /usr/local, |
5 |
# for example |
5 |
# for example |
Lines 30-43
Link Here
|
30 |
+LIBS = ${PTHREAD_LIBS} |
30 |
+LIBS = ${PTHREAD_LIBS} |
31 |
|
31 |
|
32 |
|
32 |
|
33 |
-DEFAULT_CFLAGS = -I. -D_THREAD_SAFE -D_REENTRANT -DBINARY_DIR="\"$(BINARYDIR)\"" -DSYSCONFDIR="\"$(CONFIGDIR)\"" -DVERSION="\"0.9.9.8\"" |
33 |
-DEFAULT_CFLAGS = -I. -D_THREAD_SAFE -D_REENTRANT -DBINARY_DIR="\"$(BINARYDIR)\"" -DSYSCONFDIR="\"$(CONFIGDIR)\"" -DVERSION="\"0.9.9.9\"" |
34 |
-CFLAGS = $(DEFAULT_CFLAGS) -Wall -DFREEBSD=1 -DOS_TYPE="\"FreeBSD\"" |
34 |
-CFLAGS = $(DEFAULT_CFLAGS) -Wall -DOS_TYPE="\"FreeBSD\"" |
35 |
+DEFAULT_CFLAGS = -I. ${PTHREAD_CFLAGS} -D_REENTRANT -DBINARY_DIR="\"$(BINARYDIR)\"" -DSYSCONFDIR="\"$(CONFIGDIR)\"" -DVERSION="\"0.9.9.8\"" |
35 |
+DEFAULT_CFLAGS = -I. ${PTHREAD_CFLAGS} -D_REENTRANT -DBINARY_DIR="\"$(BINARYDIR)\"" -DSYSCONFDIR="\"$(CONFIGDIR)\"" -DVERSION="\"0.9.9.9\"" |
36 |
+CFLAGS += $(DEFAULT_CFLAGS) -Wall -DFREEBSD=1 -DOS_TYPE="\"FreeBSD\"" |
36 |
+CFLAGS += $(DEFAULT_CFLAGS) -Wall -DOS_TYPE="\"FreeBSD\"" |
37 |
|
37 |
|
38 |
|
38 |
|
39 |
# |
39 |
# |
40 |
@@ -113,19 +113,25 @@ |
40 |
@@ -116,25 +116,26 @@ |
41 |
# Install the software. |
41 |
# Install the software. |
42 |
# |
42 |
# |
43 |
install: $(PROG) |
43 |
install: $(PROG) |
Lines 52-63
Link Here
|
52 |
# Install all the theme directories. |
52 |
# Install all the theme directories. |
53 |
- for i in ../templates/*/; do cp -R ../templates/$$i $(TEMPLATEDIR); done |
53 |
- for i in ../templates/*/; do cp -R ../templates/$$i $(TEMPLATEDIR); done |
54 |
- install ../templates/README $(TEMPLATEDIR) |
54 |
- install ../templates/README $(TEMPLATEDIR) |
55 |
- chmod -R 555 $(TEMPLATEDIR) |
55 |
- |
56 |
+ -mkdir -p $(TEMPLATEDIR)/default |
56 |
- # Fix up permissions correctly. |
|
|
57 |
- find $(TEMPLATEDIR) -name "CVS" -print | xargs rm -rf |
58 |
- chmod -R a+rx $(TEMPLATEDIR) |
59 |
- find $(TEMPLATEDIR) -name "*.*" -print | xargs chmod -x |
60 |
- |
61 |
+ -mkdir -p $(TEMPLATEDIR)/default |
57 |
+ ${BSD_INSTALL_DATA} ../templates/default/* $(TEMPLATEDIR)/default |
62 |
+ ${BSD_INSTALL_DATA} ../templates/default/* $(TEMPLATEDIR)/default |
58 |
+ -mkdir -p $(TEMPLATEDIR)/nausicaa |
63 |
+ -mkdir -p $(TEMPLATEDIR)/nausicaa |
59 |
+ ${BSD_INSTALL_DATA} ../templates/nausicaa/* $(TEMPLATEDIR)/nausicaa |
64 |
+ ${BSD_INSTALL_DATA} ../templates/nausicaa/* $(TEMPLATEDIR)/nausicaa |
60 |
+ -mkdir -p $(TEMPLATEDIR)/simple |
65 |
+ -mkdir -p $(TEMPLATEDIR)/simple |
61 |
+ ${BSD_INSTALL_DATA} ../templates/simple/* $(TEMPLATEDIR)/simple |
66 |
+ ${BSD_INSTALL_DATA} ../templates/simple/* $(TEMPLATEDIR)/simple |
62 |
+ -mkdir -p $(TEMPLATEDIR)/split |
67 |
+ -mkdir -p $(TEMPLATEDIR)/split |
63 |
+ ${BSD_INSTALL_DATA} ../templates/split/* $(TEMPLATEDIR)/split |
68 |
+ ${BSD_INSTALL_DATA} ../templates/split/* $(TEMPLATEDIR)/split |
Lines 67-76
Link Here
|
67 |
- install ../doc/mp3d.1 $(MANDIR) |
72 |
- install ../doc/mp3d.1 $(MANDIR) |
68 |
- install ../doc/mp3d.conf.1 $(MANDIR) |
73 |
- install ../doc/mp3d.conf.1 $(MANDIR) |
69 |
- install ../doc/mp3d-top.1 $(MANDIR) |
74 |
- install ../doc/mp3d-top.1 $(MANDIR) |
|
|
75 |
- install ../doc/mp3d-config.1 $(MANDIR) |
70 |
+ -mkdir -p $(MANDIR) |
76 |
+ -mkdir -p $(MANDIR) |
71 |
+ ${BSD_INSTALL_MAN} ../doc/mp3d.1 $(MANDIR) |
77 |
+ ${BSD_INSTALL_MAN} ../doc/mp3d.1 $(MANDIR) |
72 |
+ ${BSD_INSTALL_MAN} ../doc/mp3d.conf.1 $(MANDIR) |
78 |
+ ${BSD_INSTALL_MAN} ../doc/mp3d.conf.1 $(MANDIR) |
73 |
+ ${BSD_INSTALL_MAN} ../doc/mp3d-top.1 $(MANDIR) |
79 |
+ ${BSD_INSTALL_MAN} ../doc/mp3d-top.1 $(MANDIR) |
|
|
80 |
+ ${BSD_INSTALL_MAN} ../doc/mp3d-config.1 $(MANDIR) |
74 |
|
81 |
|
75 |
|
82 |
|
76 |
# |
83 |
# |