From 42b49f791bd587acdee1413a8d01833ed2b44395 Mon Sep 17 00:00:00 2001 From: garga Date: Thu, 13 Oct 2005 19:18:56 +0000 Subject: - Update to 0.1.4 PR: ports/87387 Submitted by: Ports Fury --- multimedia/replex/Makefile | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'multimedia/replex/Makefile') diff --git a/multimedia/replex/Makefile b/multimedia/replex/Makefile index fa32e910f035..79fcc3d70a9f 100644 --- a/multimedia/replex/Makefile +++ b/multimedia/replex/Makefile @@ -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 @@ MASTER_SITES= http://www.metzlerbros.org/dvb/ 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 "" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ + 's|||g' + @${REINPLACE_CMD} -e \ + 's|-L. -lreplex|libreplex.a $${LIBS}|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/replex ${PREFIX}/bin/ @@ -32,11 +41,4 @@ do-install: ${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 -- cgit