Index: Makefile =================================================================== --- Makefile (revision 417673) +++ Makefile (working copy) @@ -11,10 +11,13 @@ MAINTAINER= malus.x@gmail.com COMMENT= Reference DLNA open-source implementation -LIB_DEPENDS+= libavcodec.so:multimedia/ffmpeg +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING +LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg + HAS_CONFIGURE= yes -USES= tar:bzip2 gmake pkgconfig +USES= gmake localbase pkgconfig tar:bzip2 USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes @@ -22,12 +25,7 @@ --includedir="${PREFIX}/include" \ --libdir="${PREFIX}/lib" -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdlna.so -post-patch: - @${REINPLACE_CMD} -e \ - 's#\(PKGCONFIG_DIR = \).*#\1${STAGEDIR}${PREFIX}/libdata/pkgconfig#' \ - ${WRKSRC}/Makefile - .include Index: files/patch-Makefile =================================================================== --- files/patch-Makefile (nonexistent) +++ files/patch-Makefile (working copy) @@ -0,0 +1,20 @@ +--- Makefile.orig 2007-11-26 20:47:43 UTC ++++ Makefile +@@ -4,7 +4,7 @@ endif + include config.mak + + DISTFILE = libdlna-$(VERSION).tar.bz2 +-PKGCONFIG_DIR = $(libdir)/pkgconfig ++PKGCONFIG_DIR = $(prefix)/libdata/pkgconfig + PKGCONFIG_FILE = libdlna.pc + + LIBTEST = test-libdlna +@@ -19,7 +19,7 @@ EXTRADIST = AUTHORS \ + SUBDIRS = src \ + + CFLAGS += -Isrc +-LDFLAGS += -Lsrc -ldlna ++LDFLAGS := -Lsrc -ldlna ${LDFLAGS} + + ifeq ($(BUILD_STATIC),yes) + LDFLAGS += $(EXTRALIBS) Property changes on: files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property