maintenance update to 0.4.3, install README

This commit is contained in:
naddy 2005-06-16 20:08:24 +00:00
parent 7f892882d6
commit 40873db770
4 changed files with 24 additions and 28 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2005/05/23 22:57:56 naddy Exp $
# $OpenBSD: Makefile,v 1.3 2005/06/16 20:08:24 naddy Exp $
SHARED_ONLY= Yes
COMMENT= "XF86Audio multimedia-key support for XMMS"
DISTNAME= xmms-xf86audio-0.4.2
DISTNAME= xmms-xf86audio-0.4.3
CATEGORIES= audio
HOMEPAGE= http://www.devin.com/xmms-xf86audio/
@ -20,7 +20,13 @@ MASTER_SITES= ${HOMEPAGE}download/
LIB_DEPENDS= xmms.4::audio/xmms
WANTLIB= X11 Xext Xi m gdk glib gmodule gtk iconv intl
MAKE_FLAGS= CC="${CC}"
MAKE_FLAGS= CC="${CC}" OPT="${CFLAGS}" DEBUG=""
NO_REGRESS= Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/xmms/General
${INSTALL_DATA} ${WRKBUILD}/libxf86audio.so ${PREFIX}/lib/xmms/General/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmms-xf86audio
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmms-xf86audio/
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
MD5 (xmms-xf86audio-0.4.2.tar.gz) = 515912764ccdcdc7530ebce63fc8ad5c
RMD160 (xmms-xf86audio-0.4.2.tar.gz) = 93ecb4f24ab1b16bbacef4890413bbbb8c97a363
SHA1 (xmms-xf86audio-0.4.2.tar.gz) = 0a63c9dd058276f4be164080fe905913189d13ed
SIZE (xmms-xf86audio-0.4.2.tar.gz) = 14696
MD5 (xmms-xf86audio-0.4.3.tar.gz) = 25d09c39eb35705bd11ee7e58e3f2f5a
RMD160 (xmms-xf86audio-0.4.3.tar.gz) = 493912ba129d49e47754b5a97f4df7941fd24ec6
SHA1 (xmms-xf86audio-0.4.3.tar.gz) = 40dc3e780857f0f07b38fb1beb68ee631c8caaff
SIZE (xmms-xf86audio-0.4.3.tar.gz) = 14703

View File

@ -1,29 +1,17 @@
$OpenBSD: patch-Makefile,v 1.2 2005/06/09 01:34:16 pvalchev Exp $
--- Makefile.orig Thu Apr 17 00:09:02 2003
+++ Makefile Wed Jun 8 19:33:57 2005
@@ -5,11 +5,11 @@ CC=gcc
OPT=-O2
DEBUG=-g
-CFLAGS=$(OPT) $(DEBUG) -Wall `gtk-config --cflags` `xmms-config --cflags`
+CFLAGS+=`gtk-config --cflags` `xmms-config --cflags` -fPIC
LIBS=`gtk-config --libs` `xmms-config --libs`
PLUGIN=libxf86audio.so
-PLUGINDIR=`xmms-config --general-plugin-dir`
+PLUGINDIR=${DESTDIR}`xmms-config --general-plugin-dir`
all : $(PLUGIN)
@@ -18,10 +18,7 @@ install : $(PLUGIN)
$OpenBSD: patch-Makefile,v 1.3 2005/06/16 20:08:24 naddy Exp $
--- Makefile.orig Thu Jun 16 22:01:38 2005
+++ Makefile Thu Jun 16 22:01:53 2005
@@ -18,10 +18,10 @@ install : $(PLUGIN)
install $(PLUGIN) $(PLUGINDIR)
$(PLUGIN) : xf86audio.o
- $(CC) $(LIBS) -shared $^ -o $@
-
+ $(CC) $(LIBS) -shared $? -o $@
-%.o : %.c
- $(CC) $(CFLAGS) -c $^ -o $@
+ $(CC) $(LIBS) -fPIC -shared $? -o $@
+.c.o:
+ $(CC) $(CFLAGS) -c $? -o $@
clean :
rm -f $(PLUGIN) *.o

View File

@ -1,2 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/23 22:51:34 naddy Exp $
@comment $OpenBSD: PLIST,v 1.2 2005/06/16 20:08:24 naddy Exp $
lib/xmms/General/libxf86audio.so
share/doc/xmms-xf86audio/
share/doc/xmms-xf86audio/README