Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Sep 2005 16:23:46 -0400
From:      Serge Gagnon <serge.gagnon@b2b2c.ca>
To:        Jean-Yves Lefort <jylefort@freebsd.org>
Cc:        freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/85714: [NEW PORTS] sysutils/streamdvd
Message-ID:  <200509051623.46978.serge.gagnon@b2b2c.ca>
In-Reply-To: <200509051903.j85J3Pi3036690@freefall.freebsd.org>
References:  <200509051903.j85J3Pi3036690@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary_(ID_lgjWlxeNsCqm61FuTFhJ2g)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable
Content-disposition: inline

Le 5 Septembre 2005 15:03, vous avez =E9crit=A0:
> Synopsis: [NEW PORTS] sysutils/streamdvd
>=20
> State-Changed-From-To: open->feedback
> State-Changed-By: jylefort
> State-Changed-When: Mon Sep 5 19:01:25 GMT 2005
> State-Changed-Why:=20
> Please submit a follow-up patch which respects ${CC}, ${CFLAGS}, ${PREFIX}
> (and, if relevant, ${LOCALBASE} and ${X11BASE}). See the Porter's Handbook
> for more details. Thanks.

Of course,

=2D-=20
GAGNON Serge <serge.gagnon@b2b2c.ca>

--Boundary_(ID_lgjWlxeNsCqm61FuTFhJ2g)
Content-type: text/x-diff; charset=iso-8859-1; name=patch-streamdvd
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=patch-streamdvd

--- sysutils/streamdvd/Makefile.orig	Mon Sep  5 16:15:13 2005
+++ sysutils/streamdvd/Makefile	Mon Sep  5 16:15:13 2005
@@ -19,4 +19,7 @@
 
 WRKSRC=	${WRKDIR}/StreamDVD-${PORTVERSION}
 
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/streamdvd ${PREFIX}/bin
+
 .include <bsd.port.mk>

--Boundary_(ID_lgjWlxeNsCqm61FuTFhJ2g)
Content-type: text/x-diff; charset=iso-8859-1; name=patch-Makefile
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=patch-Makefile

--- Makefile.orig	Mon Mar  8 17:10:53 2004
+++ Makefile	Mon Sep  5 16:09:51 2005
@@ -1,32 +1,10 @@
-INSTALLDIR = /usr/local/bin/
+CC?=	cc
+CXX?=	c++
+CFLAGS+= -Implex -I. -I/usr/local/include -L/usr/local/lib -ldvdread -lm
 
 all:
-	g++ -g -Wall -ldvdread -lm -o streamdvd -I. -Implex streamdvd.c requant.c mplex/*.c mplex/*.cpp
-
-addon:
-	gcc -g -Wall -ldvdread -o streamanalyze contrib/StreamAnalyze/streamanalyze.c
-	gcc -g -Wall -ldvdread -DVERSION=\"0.9\" -o lsdvd contrib/lsdvd/lsdvd.c
-
-gui:
-	g++ -g -Wall -ldvdread -lm -o streamdvd -I. -Implex streamdvd.c requant.c mplex/*.c mplex/*.cpp
-	gcc -g -Wall -ldvdread -o streamanalyze contrib/StreamAnalyze/streamanalyze.c
-	gcc -g -Wall -ldvdread -DVERSION=\"0.9\" -o lsdvd contrib/lsdvd/lsdvd.c
+	$(CXX) $(CFLAGS) -o streamdvd  streamdvd.c requant.c mplex/*.c mplex/*.cpp
 
 clean: 
 	rm -f streamdvd streamanalyze lsdvd
 
-install:
-	cp streamdvd $(INSTALLDIR)
-	if test -f "streamanalyze"; then cp streamanalyze $(INSTALLDIR); fi
-	if test -f "lsdvd"; then cp lsdvd $(INSTALLDIR); fi
-
-gui_install:
-	cp streamdvd $(INSTALLDIR)
-	if test -f "streamanalyze"; then cp streamanalyze $(INSTALLDIR); fi
-	if test -f "lsdvd"; then cp lsdvd $(INSTALLDIR); fi
-	if test -f "Gui/install.pl"; then cd Gui; ./install.pl; fi
-
-uninstall:
-	if test -f "$(INSTALLDIR)/streamdvd"; then rm -f "$(INSTALLDIR)/streamdvd"; fi
-	if test -f "$(INSTALLDIR)/streamanalyze"; then rm -f "$(INSTALLDIR)/streamanalyze"; fi
-	if test -f "$(INSTALLDIR)/lsdvd"; then rm -f "$(INSTALLDIR)/lsdvd"; fi

--Boundary_(ID_lgjWlxeNsCqm61FuTFhJ2g)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509051623.46978.serge.gagnon>