pkgsrc/chat/fisg/patches/patch-aa
shattered 25b32db8fc Update to 0.3.12. Changes:
"Some of FISG's behavior has changed slightly after version 0.3.8.

Few commandline options have been renamed and there is NO default
input format anymore, you will always have to specify one."
2013-07-21 11:34:51 +00:00

31 lines
812 B
Text

$NetBSD: patch-aa,v 1.3 2013/07/21 11:34:51 shattered Exp $
--- Makefile.orig 2004-09-28 04:51:55.000000000 +0000
+++ Makefile
@@ -1,18 +1,13 @@
#
# Makefile for UNIX
#
-# Installation prefix
-PREFIX=/usr/local
-
-# C-compiler, flags and linker flags
-CC=gcc
-CFLAGS=-g -W -Wall
-LDFLAGS=
-
-# Miscellaneous
-RM=rm
-INSTALL=install -c -m 755
-BINPATH=
-EXEEXT=
include Makefile.gen
+
+install: $(FISGEXE)
+ $(BSD_INSTALL_PROGRAM) $(FISGBIN) $(DESTDIR)$(PREFIX)/bin
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/examples/fisg
+ $(BSD_INSTALL_DATA) ../example.cfg $(DESTDIR)$(PREFIX)/share/examples/fisg
+ $(BSD_INSTALL_DATA) ../users.cfg $(DESTDIR)$(PREFIX)/share/examples/fisg
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/fisg
+ $(BSD_INSTALL_DATA) ../data/*.* $(DESTDIR)$(PREFIX)/share/fisg