opnsense-ports/multimedia/fxtv/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

38 lines
1.5 KiB
Text

--- Makefile.orig Tue Feb 13 09:08:59 2001
+++ Makefile Sat Mar 10 17:36:25 2001
@@ -62,7 +62,7 @@ endif
ifneq ($(DEBUG),NO)
override CFLAGS = -DDEBUG -g
else
- override CFLAGS = -DNDEBUG -O2
+ override CFLAGS += -DNDEBUG #-O2
endif
C_WARN_FLAG = -Wall
override CFLAGS += $(C_WARN_FLAG) $(INC) $(CF_VERS)
@@ -116,15 +116,17 @@ $(VIDEOLIB_LIB) :
tv.o : tv.c app_rsrc.h
install : fxtv
- mkdir -p $(FXTV_LIBDIR)/bitmaps
- install -c -m 444 -o root $(PIXMAPS) $(FXTV_LIBDIR)/bitmaps
- install -c -m 444 -o root README $(FXTV_LIBDIR)
- mkdir -p $(X11BASEINST)/lib/X11/app-defaults
- install -c -m 444 -o root Fxtv $(X11BASEINST)/lib/X11/app-defaults
- mkdir -p $(X11BASEINST)/bin
- install -c -m 444 -o root fxtv.1 $(X11BASEINST)/man/man1/fxtv.1
- install -c -m 555 -o root fxtv $(X11BASEINST)/bin
- install -c -m 555 -o root fxtv_cnvt.sh $(FXTV_LIBDIR)
+ mkdir -p $(DESTDIR)$(FXTV_LIBDIR)/bitmaps
+ $(BSD_INSTALL_DATA) $(PIXMAPS) $(DESTDIR)$(FXTV_LIBDIR)/bitmaps
+ $(BSD_INSTALL_DATA) README $(DESTDIR)$(FXTV_LIBDIR)
+ mkdir -p $(DESTDIR)$(X11BASEINST)/lib/X11/app-defaults
+ $(BSD_INSTALL_DATA) Fxtv \
+ $(DESTDIR)$(X11BASEINST)/lib/X11/app-defaults
+ mkdir -p $(DESTDIR)$(X11BASEINST)/bin
+ $(BSD_INSTALL_MAN) fxtv.1 \
+ $(DESTDIR)$(X11BASEINST)/man/man1/fxtv.1
+ $(BSD_INSTALL_PROGRAM) fxtv $(DESTDIR)$(X11BASEINST)/bin
+ $(BSD_INSTALL_SCRIPT) fxtv_cnvt.sh $(DESTDIR)$(FXTV_LIBDIR)
clean:
rm -f *.o fxtv *.core *~