aboutsummaryrefslogtreecommitdiffstats
path: root/audio/openal
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-18 04:07:25 +0800
committerade <ade@FreeBSD.org>2000-10-18 04:07:25 +0800
commitb24002a09fa3225925ec6fe744dba5f078c87c2b (patch)
treea17486296477577ade25d92395e041ab1447cd4d /audio/openal
parent9bb283eed3262c7b076ae181ffd8ce1c53c36ddb (diff)
downloadfreebsd-ports-gnome-b24002a09fa3225925ec6fe744dba5f078c87c2b.tar.gz
freebsd-ports-gnome-b24002a09fa3225925ec6fe744dba5f078c87c2b.tar.zst
freebsd-ports-gnome-b24002a09fa3225925ec6fe744dba5f078c87c2b.zip
Add USE_GMAKE
Remove redundant GNU_CONFIGURE Install info file Support install macros perl -> PERL Fix version number of sharedlib PR: 22054 Submitted by: Ports Fury
Diffstat (limited to 'audio/openal')
-rw-r--r--audio/openal/Makefile12
-rw-r--r--audio/openal/files/patch-Makefile.in42
-rw-r--r--audio/openal/files/patch-src:Makefile.in21
-rw-r--r--audio/openal/pkg-plist15
4 files changed, 79 insertions, 11 deletions
diff --git a/audio/openal/Makefile b/audio/openal/Makefile
index f2ce83b95e7e..96fcf349d921 100644
--- a/audio/openal/Makefile
+++ b/audio/openal/Makefile
@@ -13,14 +13,16 @@ MASTER_SITES= ftp://ftp.openal.org/
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}/linux
+
+USE_GMAKE= yes
USE_AUTOCONF= yes
-GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
post-patch:
- for file in $$(find ${WRKSRC} -name Makefile.in); \
- do \
- perl -pi -e 's/-g -c/-c/g' $${file}; \
- done
+ @find ${WRKSRC} -name 'Makefile.in' | xargs ${PERL} -pi -e 's/-g -c/-c/g'
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/doc/openal.info ${PREFIX}/info
+ @install-info ${PREFIX}/info/openal.info ${PREFIX}/info/dir
.include <bsd.port.mk>
diff --git a/audio/openal/files/patch-Makefile.in b/audio/openal/files/patch-Makefile.in
new file mode 100644
index 000000000000..15c571f5201f
--- /dev/null
+++ b/audio/openal/files/patch-Makefile.in
@@ -0,0 +1,42 @@
+--- Makefile.in.orig Sun Sep 3 17:40:32 2000
++++ Makefile.in Fri Oct 13 05:50:01 2000
+@@ -1,4 +1,5 @@
+ INSTALL=@INSTALL@
++INSTALL_DATA=@INSTALL_DATA@
+ LN_S=@LN_S@
+ DESTDIR=@prefix@/
+ DESTINC=$(DESTDIR)include
+@@ -38,20 +39,19 @@
+ $(INSTALL) -d -m 755 $(DESTINC)
+ $(INSTALL) -d -m 755 $(DESTINC)/AL
+ $(INSTALL) -d -m 755 $(DESTLIB)
+- $(INSTALL) -m 755 src/libopenal.a $(DESTLIB)
+- $(INSTALL) -m 755 src/libopenal.so.$(VERSION) $(DESTLIB)
+- $(LN_S) -f $(DESTLIB)/libopenal.so.$(VERSION) $(DESTLIB)/libopenal.so.$(MAJOR_VERSION)
+- $(LN_S) -f $(DESTLIB)/libopenal.so.$(VERSION) $(DESTLIB)/libopenal.so
+- $(INSTALL) -m 444 ../include/AL/al.h $(DESTINC)/AL
+- $(INSTALL) -m 444 ../include/AL/alc.h $(DESTINC)/AL
+- $(INSTALL) -m 444 ../include/AL/alu.h $(DESTINC)/AL
+- $(INSTALL) -m 444 ../include/AL/alut.h $(DESTINC)/AL
+- $(INSTALL) -m 444 ../include/AL/altypes.h $(DESTINC)/AL
+- $(INSTALL) -m 444 ../include/AL/alctypes.h $(DESTINC)/AL
+- $(INSTALL) -m 444 ../include/AL/alutypes.h $(DESTINC)/AL
+- $(INSTALL) -m 444 ../include/AL/aluttypes.h $(DESTINC)/AL
+- $(INSTALL) -m 444 include/AL/alkludge.h $(DESTINC)/AL
+- $(INSTALL) -m 444 include/AL/alkludgetypes.h $(DESTINC)/AL
++ $(INSTALL_DATA) src/libopenal.a $(DESTLIB)
++ $(INSTALL_DATA) src/libopenal.so.$(MAJOR_VERSION) $(DESTLIB)
++ $(LN_S) -f $(DESTLIB)/libopenal.so.$(MAJOR_VERSION) $(DESTLIB)/libopenal.so
++ $(INSTALL_DATA) ../include/AL/al.h $(DESTINC)/AL
++ $(INSTALL_DATA) ../include/AL/alc.h $(DESTINC)/AL
++ $(INSTALL_DATA) ../include/AL/alu.h $(DESTINC)/AL
++ $(INSTALL_DATA) ../include/AL/alut.h $(DESTINC)/AL
++ $(INSTALL_DATA) ../include/AL/altypes.h $(DESTINC)/AL
++ $(INSTALL_DATA) ../include/AL/alctypes.h $(DESTINC)/AL
++ $(INSTALL_DATA) ../include/AL/alutypes.h $(DESTINC)/AL
++ $(INSTALL_DATA) ../include/AL/aluttypes.h $(DESTINC)/AL
++ $(INSTALL_DATA) include/AL/alkludge.h $(DESTINC)/AL
++ $(INSTALL_DATA) include/AL/alkludgetypes.h $(DESTINC)/AL
+
+ configure: configure.in
+ @echo "configure.in newer than configure...Please re-./configure"
diff --git a/audio/openal/files/patch-src:Makefile.in b/audio/openal/files/patch-src:Makefile.in
new file mode 100644
index 000000000000..098969325e00
--- /dev/null
+++ b/audio/openal/files/patch-src:Makefile.in
@@ -0,0 +1,21 @@
+--- src/Makefile.in.orig Sat Sep 9 07:15:48 2000
++++ src/Makefile.in Fri Oct 13 05:51:52 2000
+@@ -81,7 +81,6 @@
+ rm -f $(EXT_OBJS)
+ rm -f $(EXT_DLL_OBJS)
+ rm -f libopenal.a
+- rm -f libopenal.$(SO_EXT).$(VERSION)
+ rm -f libopenal.$(SO_EXT).$(MAJOR_VERSION)
+ rm -f libopenal.$(SO_EXT)
+ rm -f core
+@@ -103,8 +102,8 @@
+ libopenal.so: $(AL_OBJS) $(ALC_OBJS) $(AC_OBJS) $(ALUT_OBJS) extensions
+ $(CC) -shared \
+ -Wl,-soname \
+- -Wl,libopenal-$(MAJOR_VERSION).$(MINOR_VERSION).so \
+- -o libopenal.so.$(VERSION) \
++ -Wl,libopenal.so.$(MAJOR_VERSION) \
++ -o libopenal.so.$(MAJOR_VERSION) \
+ $(AL_OBJS) \
+ $(ALC_OBJS) \
+ $(AC_OBJS) \
diff --git a/audio/openal/pkg-plist b/audio/openal/pkg-plist
index 852b25fe2aaf..d26e1a5d6e5a 100644
--- a/audio/openal/pkg-plist
+++ b/audio/openal/pkg-plist
@@ -1,14 +1,17 @@
include/AL/al.h
include/AL/alc.h
-include/AL/alu.h
-include/AL/alut.h
-include/AL/altypes.h
include/AL/alctypes.h
-include/AL/alutypes.h
-include/AL/aluttypes.h
include/AL/alkludge.h
include/AL/alkludgetypes.h
+include/AL/altypes.h
+include/AL/alu.h
+include/AL/alut.h
+include/AL/aluttypes.h
+include/AL/alutypes.h
+@unexec install-info --delete %D/info/openal.info %D/info/dir
+info/openal.info
+@exec install-info %D/info/openal.info %D/info/dir
+lib/libopenal.a
lib/libopenal.so
lib/libopenal.so.0
-lib/libopenal.so.0.0.4
@dirrm include/AL