- remove license type
- respect CFLAGS (don't always compile with -m486) - properly Fake this port
This commit is contained in:
parent
fa502182d4
commit
62d4ead450
@ -1,24 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2000/06/14 16:13:38 angelos Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2000/06/15 01:13:36 brad Exp $
|
||||
# $FreeBSD: Makefile,v 1.17 1999/03/16 14:01:06 roger Exp $
|
||||
|
||||
DISTNAME= fxtv-1.02
|
||||
CATEGORIES= graphics
|
||||
NEED_VERSION= 1.230
|
||||
NEED_VERSION= 1.301
|
||||
MASTER_SITES= http://www.ipass.net/~dbhopper/aa8vb/fxtv/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
LICENSE_TYPE= BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= tiff.35::graphics/tiff \
|
||||
jpeg.62::graphics/jpeg \
|
||||
Xaw3d.6.1::x11/Xaw3d
|
||||
|
||||
# This program does not actually require the programs below, but they are
|
||||
# needed if you use digital video recording and playback.
|
||||
#RUN_DEPENDS= sox::audio/sox \
|
||||
@ -27,11 +18,20 @@ LIB_DEPENDS= tiff.35::graphics/tiff \
|
||||
# mpeg_encode::graphics/mpeg_encode \
|
||||
# mplex::graphics/mplex
|
||||
|
||||
USE_X11= Yes
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
USE_GMAKE= Yes
|
||||
MAKE_FLAGS= -e
|
||||
MAKE_FLAGS= CFLAGS="${CFLAGS}"
|
||||
FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}"
|
||||
|
||||
pre-build:
|
||||
(cd $(WRKSRC)/videolib/; gmake clean; gmake)
|
||||
@cd $(WRKSRC)/videolib && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKEFLAGS} -f ${MAKE_FILE} clean && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKEFLAGS} -f ${MAKE_FILE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Makefile.orig Sun May 28 19:20:57 2000
|
||||
+++ Makefile Sun May 28 19:21:49 2000
|
||||
@@ -40,6 +40,13 @@
|
||||
--- Makefile.orig Thu Nov 4 19:43:51 1999
|
||||
+++ Makefile Wed Jun 14 13:39:28 2000
|
||||
@@ -40,12 +40,17 @@
|
||||
endif
|
||||
|
||||
#
|
||||
@ -14,7 +14,13 @@
|
||||
# CFLAGS
|
||||
#
|
||||
ifneq ($(DEBUG),NO)
|
||||
@@ -74,7 +81,7 @@
|
||||
override CFLAGS = -DDEBUG -g
|
||||
-else
|
||||
- override CFLAGS = -O2 -m486
|
||||
endif
|
||||
C_WARN_FLAG = -Wall
|
||||
override CFLAGS += $(C_WARN_FLAG) $(INC) $(CF_VERS)
|
||||
@@ -74,7 +79,7 @@
|
||||
override LDFLAGS := -g $(LDFLAGS)
|
||||
endif
|
||||
|
||||
@ -23,7 +29,7 @@
|
||||
|
||||
override CSRC = $(wildcard *.c)
|
||||
override PIXMAPS = $(wildcard bitmaps/*.x?m)
|
||||
@@ -102,11 +109,11 @@
|
||||
@@ -102,11 +107,11 @@
|
||||
mkdir -p $(FXTV_LIBDIR)/bitmaps
|
||||
install -c -m 444 -o root $(PIXMAPS) $(FXTV_LIBDIR)/bitmaps
|
||||
install -c -m 444 -o root README $(FXTV_LIBDIR)
|
||||
|
11
graphics/fxtv/patches/patch-ak
Normal file
11
graphics/fxtv/patches/patch-ak
Normal file
@ -0,0 +1,11 @@
|
||||
--- videolib/Makefile.orig Wed Jun 14 13:36:23 2000
|
||||
+++ videolib/Makefile Wed Jun 14 13:36:57 2000
|
||||
@@ -14,8 +14,6 @@
|
||||
#
|
||||
ifneq ($(DEBUG),NO)
|
||||
override CFLAGS = -DDEBUG -g
|
||||
-else
|
||||
- override CFLAGS = -DNDEBUG -O2 -m486
|
||||
endif
|
||||
C_WARN_FLAG = -Wall
|
||||
override CFLAGS += $(C_WARN_FLAG) $(INC)
|
Loading…
Reference in New Issue
Block a user