aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-20 06:26:30 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-20 06:26:30 +0000
commit65777988cd42ebf8be11159b8288755dfc86fe6b (patch)
tree0b13bbd014dedd4a04c7e763dba95a98c285fc0f
parent3ee9e592bf2ff103d8c3b60e49ba48d92359d7af (diff)
downloadports-65777988cd42ebf8be11159b8288755dfc86fe6b.tar.gz
ports-65777988cd42ebf8be11159b8288755dfc86fe6b.zip
Notes
-rw-r--r--multimedia/mpeg_stat/Makefile6
-rw-r--r--multimedia/mpeg_stat/files/patch-Makefile18
-rw-r--r--multimedia/mpeg_stat/files/patch-aa15
-rw-r--r--multimedia/mpeg_stat/pkg-plist1
4 files changed, 18 insertions, 22 deletions
diff --git a/multimedia/mpeg_stat/Makefile b/multimedia/mpeg_stat/Makefile
index 473283e95148..434facc13b7d 100644
--- a/multimedia/mpeg_stat/Makefile
+++ b/multimedia/mpeg_stat/Makefile
@@ -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>
diff --git a/multimedia/mpeg_stat/files/patch-Makefile b/multimedia/mpeg_stat/files/patch-Makefile
index 100cb95b8ee5..37a6a48e31de 100644
--- a/multimedia/mpeg_stat/files/patch-Makefile
+++ b/multimedia/mpeg_stat/files/patch-Makefile
@@ -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)
+
diff --git a/multimedia/mpeg_stat/files/patch-aa b/multimedia/mpeg_stat/files/patch-aa
deleted file mode 100644
index 845072865023..000000000000
--- a/multimedia/mpeg_stat/files/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile~ Fri Aug 2 11:59:50 1996
-+++ Makefile Fri Aug 2 12:02:45 1996
-@@ -40,6 +40,12 @@
- all: $(PROGRAM)
- strip $(PROGRAM)
-
-+install:
-+ install -cs ${PROGRAM} ${PREFIX}/bin
-+ install -c block2spec ${PREFIX}/bin
-+ install -c -m 644 mpeg_stat.1 ${PREFIX}/man/man1
-+ gzip -9nf ${PREFIX}/man/man1/mpeg_stat.1
-+
- $(PROGRAM): $(OBJS)
- $(LD) -g $(OBJS) $(LIBS) -lm -o $(PROGRAM)
-
diff --git a/multimedia/mpeg_stat/pkg-plist b/multimedia/mpeg_stat/pkg-plist
index 906f188961d2..a5899627f976 100644
--- a/multimedia/mpeg_stat/pkg-plist
+++ b/multimedia/mpeg_stat/pkg-plist
@@ -1,2 +1,3 @@
bin/mpeg_stat
bin/block2spec
+man/man1/mpeg_stat.1.gz