Date: Fri, 14 Oct 2005 02:00:33 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/87387: Update port: multimedia/replex to 0.1.4 Message-ID: <20051014020033.1689a72d.tkato432@yahoo.com> Resent-Message-ID: <200510131710.j9DHAIN9025402@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87387 >Category: ports >Synopsis: Update port: multimedia/replex to 0.1.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 13 17:10:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p13 i386 >Organization: >Environment: >Description: - Update to version 0.1.4 Remove file: files/patch-Makefile pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/multimedia/replex/Makefile multimedia/replex/Makefile --- /usr/ports/multimedia/replex/Makefile Thu Feb 3 19:59:19 2005 +++ multimedia/replex/Makefile Sat Oct 8 16:15:04 2005 @@ -6,8 +6,7 @@ # PORTNAME= replex -PORTVERSION= 0.1.3 -PORTREVISION= 1 +PORTVERSION= 0.1.4 PORTEPOCH= 1 CATEGORIES= multimedia MASTER_SITES= http://www.metzlerbros.org/dvb/ @@ -15,13 +14,23 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Remultiplex an MPEG2 TS into a PS for DVD -USE_GMAKE= yes USE_REINPLACE= yes USE_GETOPT_LONG= yes -CFLAGS+= -I${LOCALBASE}/include -DO_LARGEFILE=0 -MAKE_ENV+= LDFLAGS="${LDFLAGS}" -TOFIX= avi.h element.h mpg_common.h pes.h replex.h ringbuffer.h \ - replex.c ts.c +USE_GMAKE= yes +MAKE_ARGS= CFLAGS="${CFLAGS}" DEFINES="${CPPFLAGS} -DO_LARGEFILE=0" \ + LIBS="${LDFLAGS}" + +PLIST_FILES= bin/replex + +.if !defined(NOPORTDOCS) +PORTDOCS= CHANGES README TODO +.endif + +post-patch: + @${GREP} -lR "<stdint\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ + 's|<stdint\.h>|<inttypes.h>|g' + @${REINPLACE_CMD} -e \ + 's|-L. -lreplex|libreplex.a $${LIBS}|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/replex ${PREFIX}/bin/ @@ -30,13 +39,6 @@ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}/ -.endif - -do-configure: -.if !exists(/usr/include/stdint.h) -.for i in ${TOFIX} - @${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|g' ${WRKSRC}/${i} -.endfor .endif .include <bsd.port.mk> diff -urN /usr/ports/multimedia/replex/distinfo multimedia/replex/distinfo --- /usr/ports/multimedia/replex/distinfo Tue Feb 1 15:02:56 2005 +++ multimedia/replex/distinfo Sat Oct 8 15:57:50 2005 @@ -1,2 +1,2 @@ -MD5 (replex-0.1.3.tar.gz) = db10d1f8665adce061e277b0c0336c73 -SIZE (replex-0.1.3.tar.gz) = 43211 +MD5 (replex-0.1.4.tar.gz) = 4f7f8772528327f8eb592eeb93554f3a +SIZE (replex-0.1.4.tar.gz) = 43292 diff -urN /usr/ports/multimedia/replex/files/patch-Makefile multimedia/replex/files/patch-Makefile --- /usr/ports/multimedia/replex/files/patch-Makefile Wed Jul 21 00:35:09 2004 +++ multimedia/replex/files/patch-Makefile Thu Jan 1 09:00:00 1970 @@ -1,29 +0,0 @@ ---- Makefile.orig Sun Dec 28 17:57:19 2003 -+++ Makefile Tue Jan 20 05:17:32 2004 -@@ -2,7 +2,7 @@ - DISTNAME = replex-$(VERSION) - TARNAME = $(DISTNAME).tar.gz - INCS = -I.. --CFLAGS = -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -+CFLAGS += -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE - LIBS = -L. - MFLAG = -M - OBJS = element.o pes.o mpg_common.o ts.o ringbuffer.o avi.o multiplex.o -@@ -26,7 +26,7 @@ - ar -rcs libreplex.a $(OBJS) - - replex: libreplex.a replex.o -- $(CC) -o replex replex.o -L. -lreplex -+ $(CC) -o replex replex.o -L. -lreplex $(LDFLAGS) - - dist: $(SRC) $(HEADERS) Makefile - mkdir $(DISTNAME) -@@ -47,7 +47,7 @@ - - - .depend: -- $(CC) $(DEFINES) $(MFLAG) $(SRC) $(CSRC) $(CPPSRC) $(INCS)> .depend -+ $(CC) $(CFLAGS) $(DEFINES) $(MFLAG) $(SRC) $(CSRC) $(CPPSRC) $(INCS)> .depend - - - diff -urN /usr/ports/multimedia/replex/pkg-plist multimedia/replex/pkg-plist --- /usr/ports/multimedia/replex/pkg-plist Tue Feb 1 15:02:56 2005 +++ multimedia/replex/pkg-plist Thu Jan 1 09:00:00 1970 @@ -1,5 +0,0 @@ -bin/replex -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051014020033.1689a72d.tkato432>