[32749] trunk/dports/devel
sfiera at macports.org
sfiera at macports.org
Sat Jan 12 19:00:20 PST 2008
Revision: 32749
http://trac.macosforge.org/projects/macports/changeset/32749
Author: sfiera at macports.org
Date: 2008-01-12 19:00:19 -0800 (Sat, 12 Jan 2008)
Log Message:
-----------
New port libdlna
Added Paths:
-----------
trunk/dports/devel/libdlna/
trunk/dports/devel/libdlna/Portfile
trunk/dports/devel/libdlna/files/
trunk/dports/devel/libdlna/files/patch-Makefile.diff
trunk/dports/devel/libdlna/files/patch-configure.diff
Added: trunk/dports/devel/libdlna/Portfile
===================================================================
--- trunk/dports/devel/libdlna/Portfile (rev 0)
+++ trunk/dports/devel/libdlna/Portfile 2008-01-13 03:00:19 UTC (rev 32749)
@@ -0,0 +1,29 @@
+# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name libdlna
+version 0.2.3
+categories devel
+platforms darwin
+maintainers sfiera
+description An implementation of DLNA standards
+long_description \
+ libdlna aims at being the reference open-source implementation of DLNA \
+ (Digital Living Network Alliance) standards. Its primary goal is to \
+ provide DLNA support to uShare, an embedded DLNA & UPnP A/V Media Server, \
+ but it will be used to build both DLNA servers and players in the long term.
+
+depends_lib port:ffmpeg
+homepage http://libdlna.geexbox.org/
+master_sites ${homepage}releases
+use_bzip2 yes
+checksums md5 2c974f95b711e5fd07f78fc4ebfcca66
+
+patchfiles patch-configure.diff
+platform darwin {
+ patchfiles-append patch-Makefile.diff
+}
+
+configure.cflags-append -I${prefix}/include
Property changes on: trunk/dports/devel/libdlna/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: trunk/dports/devel/libdlna/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/libdlna/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/devel/libdlna/files/patch-Makefile.diff 2008-01-13 03:00:19 UTC (rev 32749)
@@ -0,0 +1,27 @@
+--- src/Makefile 2007-11-26 15:47:43.000000000 -0500
++++ src/Makefile.new 2008-01-12 15:03:09.000000000 -0500
+@@ -13,7 +13,7 @@
+ endif
+
+ LIBNAME = libdlna
+-LIBNAME_SHARED = ${LIBNAME}.so
++LIBNAME_SHARED = ${LIBNAME}.dylib
+ LIBNAME_STATIC = ${LIBNAME}.a
+ LIBNAME_VERSION = $(LIBNAME_SHARED).$(VERSION)
+ LIBNAME_MAJOR = $(LIBNAME_SHARED).$(shell echo $(VERSION) | cut -f1 -d.)
+@@ -89,13 +89,12 @@
+ @echo "#############################################"
+
+ lib_shared: lib_shared_info_pre $(LOBJS) lib_shared_info_post
+- $(CC) -shared -Wl,-soname,$(LIBNAME_MAJOR) $(LOBJS) \
+- $(LDFLAGS) $(EXTRALIBS) -o $(LIBNAME_VERSION)
++ $(CC) -dynamiclib $(LOBJS) $(LDFLAGS) $(EXTRALIBS) -o $(LIBNAME_VERSION)
+ $(LN) -sf $(LIBNAME_VERSION) $(LIBNAME_MAJOR)
+ $(LN) -sf $(LIBNAME_MAJOR) $(LIBNAME_SHARED)
+
+ clean:
+- -$(RM) -f *.o *.lo *.a *.so*
++ -$(RM) -f *.o *.lo *.a *.dylib*
+ -$(RM) -f .depend
+
+ install_static: lib_static
Added: trunk/dports/devel/libdlna/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/libdlna/files/patch-configure.diff (rev 0)
+++ trunk/dports/devel/libdlna/files/patch-configure.diff 2008-01-13 03:00:19 UTC (rev 32749)
@@ -0,0 +1,11 @@
+--- configure 2007-12-09 08:03:36.000000000 -0500
++++ configure.new 2008-01-12 14:41:04.000000000 -0500
+@@ -720,7 +720,7 @@
+ fi
+ append_config "EXTRALIBS=$extralibs"
+
+-append_config "OPTFLAGS=$CFLAGS"
++append_config "CFLAGS=$CFLAGS"
+ append_config "LDFLAGS=$LDFLAGS"
+ append_config "INSTALL=$INSTALL"
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080112/f929d24a/attachment.html
More information about the macports-changes
mailing list