Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2014 06:26:30 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358508 - in head/multimedia/mpeg_stat: . files
Message-ID:  <201406200626.s5K6QU1X014146@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Jun 20 06:26:30 2014
New Revision: 358508
URL: http://svnweb.freebsd.org/changeset/ports/358508
QAT: https://qat.redports.org/buildarchive/r358508/

Log:
  Stagify.
  
  Approved by:	portmgr@

Deleted:
  head/multimedia/mpeg_stat/files/patch-aa
Modified:
  head/multimedia/mpeg_stat/Makefile
  head/multimedia/mpeg_stat/files/patch-Makefile
  head/multimedia/mpeg_stat/pkg-plist

Modified: head/multimedia/mpeg_stat/Makefile
==============================================================================
--- head/multimedia/mpeg_stat/Makefile	Fri Jun 20 06:15:49 2014	(r358507)
+++ head/multimedia/mpeg_stat/Makefile	Fri Jun 20 06:26:30 2014	(r358508)
@@ -10,10 +10,8 @@ DISTNAME=	${PKGNAME}-src
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	An MPEG-I statistics gatherer
 
-MAN1=		mpeg_stat.1
-MANCOMPRESSED=	yes
-
+USES=		shebangfix
+SHEBANG_FILES= 	block2spec
 WRKSRC=		${WRKDIR}/mpeg_stat
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/multimedia/mpeg_stat/files/patch-Makefile
==============================================================================
--- head/multimedia/mpeg_stat/files/patch-Makefile	Fri Jun 20 06:15:49 2014	(r358507)
+++ head/multimedia/mpeg_stat/files/patch-Makefile	Fri Jun 20 06:26:30 2014	(r358508)
@@ -1,5 +1,5 @@
---- Makefile.orig	2011-06-21 13:24:59.000000000 +0200
-+++ Makefile	2011-06-21 13:34:51.000000000 +0200
+--- Makefile.orig	1995-08-09 09:15:17.000000000 +0800
++++ Makefile	2014-06-20 14:21:25.222558341 +0800
 @@ -3,7 +3,7 @@
  # Should make just about anywhere...  If you have problems,
  # check out porting.c first
@@ -9,7 +9,7 @@
  
  # at present, no include directories needed
  # Except on our OSF3.0, where -I/usr/include is needed (why? I dont know).
-@@ -19,7 +19,7 @@
+@@ -19,7 +19,7 @@ DEBUGFLAG	      = -O
  #         Do not use it if it takes none (SunOS, HPUX, OSF1 )
  #         It works either way, just gets rid of a warning.
  
@@ -18,3 +18,15 @@
  
  # for SunOS cc, just use the above
  # for cc on HPUX:
+@@ -40,6 +40,11 @@ SRCS	      = util.c main.c decoders.c vi
+ all:		$(PROGRAM)
+ 		strip $(PROGRAM)
+ 
++install:
++		install -cs ${PROGRAM} $(DESTDIR)${PREFIX}/bin
++		install -c block2spec $(DESTDIR)${PREFIX}/bin
++		install -c -m 644 mpeg_stat.1 $(DESTDIR)${PREFIX}/man/man1
++
+ $(PROGRAM):	$(OBJS)
+ 		$(LD) -g $(OBJS) $(LIBS) -lm -o $(PROGRAM)
+ 

Modified: head/multimedia/mpeg_stat/pkg-plist
==============================================================================
--- head/multimedia/mpeg_stat/pkg-plist	Fri Jun 20 06:15:49 2014	(r358507)
+++ head/multimedia/mpeg_stat/pkg-plist	Fri Jun 20 06:26:30 2014	(r358508)
@@ -1,2 +1,3 @@
 bin/mpeg_stat
 bin/block2spec
+man/man1/mpeg_stat.1.gz



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