1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-14 10:12:51 +00:00
parent df8bb45315
commit cf90a63cd0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344180
5 changed files with 23 additions and 15 deletions

View File

@ -11,6 +11,5 @@ MAINTAINER= ericb@thedeepsky.com
COMMENT= Verifies the integrity of mp3 audio files
PLIST_FILES= bin/mp3_check
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- Makefile.orig Tue Oct 24 10:51:53 2000
+++ Makefile Tue Oct 24 11:06:47 2000
--- ./Makefile.orig 2000-07-29 08:41:38.000000000 +0200
+++ ./Makefile 2014-02-14 11:11:34.806983153 +0100
@@ -2,8 +2,8 @@
CC ?= gcc
@ -16,7 +16,16 @@
install: all
- install -m 755 -o root -g root mp3_check ${LOCALBASE}/bin
+ install -m 755 -o root -g wheel mp3_check ${LOCALBASE}/bin
+ install -m 755 -o root -g wheel mp3_check ${DESTDIR}${PREFIX}/bin
# The FreeBSD Makefile options need a little work, but this will work for now.
freebsd: mp3_check.c mp3_check.h mp3_check_misc.c
@@ -29,7 +29,7 @@
strip mp3_check
freebsd_install: freebsd
- install -m 755 -o root -g wheel mp3_check ${LOCALBASE}/bin
+ install -m 755 -o root -g wheel mp3_check ${DESTDIR}${PREFIX}/bin
mp3_check.o: mp3_check.c
mp3_check_misc.o: mp3_check_misc.c

View File

@ -1,10 +0,0 @@
--- mp3_check.c.orig Wed May 24 15:48:08 2000
+++ mp3_check.c Wed May 24 15:57:41 2000
@@ -60,6 +60,7 @@
#include <errno.h>
#include <stdio.h>
+#include <getopt.h>
#include <stdlib.h>
#include <unistd.h>
#include "mp3_check.h"

View File

@ -0,0 +1,10 @@
--- ./mp3_check.c.orig 2000-07-29 08:51:38.000000000 +0200
+++ ./mp3_check.c 2014-02-14 11:10:48.285958149 +0100
@@ -60,6 +60,7 @@
#include <errno.h>
#include <stdio.h>
+#include <getopt.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>

View File

@ -1,5 +1,5 @@
--- ./mp3_check_misc.c.orig 2000-09-16 05:36:01.000000000 +0200
+++ ./mp3_check_misc.c 2013-05-27 14:05:42.403067935 +0200
+++ ./mp3_check_misc.c 2014-02-14 11:10:48.287957674 +0100
@@ -11,7 +11,7 @@
#include "support_functions.h"