1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to 0.4.5

PR:		ports/131810
Submitted by:	lwhsu
Approved by:	Pascal Vizeli <pvizeli AT yahoo.de> (maintainer)
This commit is contained in:
Li-Wen Hsu 2009-02-27 12:27:38 +00:00
parent f43d8faf35
commit 6fc649cf97
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229153
3 changed files with 10 additions and 80 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= mp4box
DISTVERSION= 0.4.4
DISTVERSION= 0.4.5
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gpac
@ -21,4 +21,7 @@ LIB_DEPENDS= gpac.1:${PORTSDIR}/multimedia/gpac-libgpac
WRKSRC= ${WRKDIR}/gpac/applications/mp4box
PLIST_FILES= bin/mp4box
pre-patch:
${RM} -f ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (gpac-0.4.4.tar.gz) = a5cb48ab85e9914d127fd8799b4b2e56
SHA256 (gpac-0.4.4.tar.gz) = 30417b233eaada0a467e47f852383897ad6f96327fed3defbb3dc3660b934704
SIZE (gpac-0.4.4.tar.gz) = 4375687
MD5 (gpac-0.4.5.tar.gz) = 755e8c438a48ebdb13525dd491f5b0d1
SHA256 (gpac-0.4.5.tar.gz) = f4039763ebec6630dc38e5e030c6573b47ced28fd009770c2e0e18b087753671
SIZE (gpac-0.4.5.tar.gz) = 4269054

View File

@ -1,79 +1,6 @@
--- Makefile.orig Wed May 24 11:52:53 2006
+++ Makefile Sun Feb 4 17:09:48 2007
@@ -1,73 +1,16 @@
-include ../../config.mak
-
-vpath %.c $(SRC_PATH)/applications/mp4box
-
-CFLAGS= $(OPTFLAGS) -Wall -I$(SRC_PATH)/include
-
-ifeq ($(DEBUGBUILD), yes)
-CFLAGS+=-g
-LDFLAGS+=-g
-endif
-
-ifeq ($(GPROFBUILD), yes)
-CFLAGS+=-pg
-LDFLAGS+=-pg
-endif
-
-#file format is read-only
-ifeq ($(GPACREADONLY), yes)
-CFLAGS+= -DGPAC_READ_ONLY
-endif
-
-ifeq ($(DISABLE_SVG), yes)
-CFLAGS+=-DGPAC_DISABLE_SVG
-endif
-
-#common obj
-OBJS= main.o filedump.o fileimport.o
-
-LINKFLAGS=-L../../bin/gcc
-ifeq ($(CONFIG_WIN32),yes)
-EXE=.exe
-PROG=MP4Box$(EXE)
-#LINKFLAGS+=-lgpac_static -lz $(EXTRALIBS)
-LINKFLAGS+=-lgpac
-else
-EXT=
-PROG=MP4Box
-#LINKFLAGS+=-lgpac_static $(EXTRALIBS) $(GPAC_SH_FLAGS) -lz
-LINKFLAGS+=-lgpac -lz
-endif
-
-
-SRCS := $(OBJS:.o=.c)
-
-all: $(PROG)
-
-$(PROG): $(OBJS)
- $(CC) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(LINKFLAGS)
-
-
-%.o: %.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
-
-clean:
- rm -f $(OBJS) ../../bin/gcc/$(PROG)
-
-dep: depend
-
-depend:
- rm -f .depend
- $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
-
-distclean: clean
- rm -f Makefile.bak .depend
-
-
-
-# include dependency files if they exist
-#
-ifneq ($(wildcard .depend),)
-include .depend
-endif
--- /dev/null 2009-02-18 17:15:01.000000000 +0800
+++ Makefile 2009-02-18 17:15:16.760428054 +0800
@@ -0,0 +1,16 @@
+# FreeBSD Version
+CC?= gcc
+CFLAGS?= -Wall -O3 -pipe