diff options
author | obache <obache@pkgsrc.org> | 2007-01-21 16:49:23 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-01-21 16:49:23 +0000 |
commit | f1d5a66c9792e2bb205eb91015fc95f04f16f092 (patch) | |
tree | a8974809af8f73a9352f1eb4c85f73ab8f4b12e9 /ham | |
parent | e1087f23a1d69fba897384686f64ed5e7c4f9d10 (diff) | |
download | pkgsrc-f1d5a66c9792e2bb205eb91015fc95f04f16f092.tar.gz |
Add fl_logbook version 121.
Based on PR 32278.
FlLogbook is a amateur radio operator log book written using the Fast
Light Toolkit.
Diffstat (limited to 'ham')
-rw-r--r-- | ham/fl_logbook/DESCR | 2 | ||||
-rw-r--r-- | ham/fl_logbook/Makefile | 26 | ||||
-rw-r--r-- | ham/fl_logbook/PLIST | 2 | ||||
-rw-r--r-- | ham/fl_logbook/distinfo | 6 | ||||
-rw-r--r-- | ham/fl_logbook/patches/patch-aa | 51 |
5 files changed, 87 insertions, 0 deletions
diff --git a/ham/fl_logbook/DESCR b/ham/fl_logbook/DESCR new file mode 100644 index 00000000000..a1c3f357ca8 --- /dev/null +++ b/ham/fl_logbook/DESCR @@ -0,0 +1,2 @@ +FlLogbook is a amateur radio operator log book written using the Fast +Light Toolkit. diff --git a/ham/fl_logbook/Makefile b/ham/fl_logbook/Makefile new file mode 100644 index 00000000000..4f5a5ebfae3 --- /dev/null +++ b/ham/fl_logbook/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/01/21 16:49:23 obache Exp $ +# + +DISTNAME= fl_logbook.121.src +PKGNAME= fl_logbook-1.21 +CATEGORIES= ham +MASTER_SITES= http://www.w1hkj.com/LinuxApps/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.w1hkj.com/ +COMMENT= FLTK-based amateur radio log book + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//} + +USE_LANGUAGES= c++ +USE_TOOLS+= gmake + +MAKE_ENV+= CFG=Release + +BUILD_TARGET= #defined in dist Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/Release/fl_logbook ${PREFIX}/bin + +.include "../../x11/fltk/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/ham/fl_logbook/PLIST b/ham/fl_logbook/PLIST new file mode 100644 index 00000000000..4e09cb23bfe --- /dev/null +++ b/ham/fl_logbook/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/21 16:49:23 obache Exp $ +bin/fl_logbook diff --git a/ham/fl_logbook/distinfo b/ham/fl_logbook/distinfo new file mode 100644 index 00000000000..89bfebc40ae --- /dev/null +++ b/ham/fl_logbook/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/01/21 16:49:23 obache Exp $ + +SHA1 (fl_logbook.121.src.tar.gz) = 739338598cce81c9c3cb5776a126ad21354352ca +RMD160 (fl_logbook.121.src.tar.gz) = 90353a34238ede39024df4cabafcbceada7895ae +Size (fl_logbook.121.src.tar.gz) = 54496 bytes +SHA1 (patch-aa) = 4763255390f3bd3acc003a9fe65d47bf8713bf3e diff --git a/ham/fl_logbook/patches/patch-aa b/ham/fl_logbook/patches/patch-aa new file mode 100644 index 00000000000..44a05c0e31f --- /dev/null +++ b/ham/fl_logbook/patches/patch-aa @@ -0,0 +1,51 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/01/21 16:49:23 obache Exp $ + +--- Makefile.orig 2006-11-21 14:10:53.000000000 +0000 ++++ Makefile +@@ -10,7 +10,6 @@ else + endif + + PROJECT = fl_logbook +-CC = "/usr/bin/g++" + + ifeq ($(CFG),Debug) + OBJ_DIR = Debug +@@ -19,9 +18,9 @@ ifeq ($(CFG),Debug) + C_INCLUDE_DIRS = -I"src" + C_PREPROC = + CFLAGS = -pipe `fltk-config --cxxflags` -Wno-deprecated -ffast-math -Wall -ggdb2 -O0 -fno-rtti -fexceptions +- LIB_DIRS = -L"src/lib" -L"../../../../../usr/local/lib" ++ LIB_DIRS = -L"src/lib" + LIBS = +- LDFLAGS = -pipe `fltk-config --ldstaticflags` ++ LDFLAGS = -pipe `fltk-config --ldflags` + endif + + ifeq ($(CFG),Release) +@@ -31,9 +30,9 @@ ifeq ($(CFG),Release) + C_INCLUDE_DIRS = -I"src" + C_PREPROC = + CFLAGS = -pipe `fltk-config --cxxflags` -Wno-deprecated -ffast-math -Wall -g0 -O2 -fno-rtti -fexceptions +- LIB_DIRS = -L"src/lib" -L"../../../../../usr/local/lib" ++ LIB_DIRS = -L"src/lib" + LIBS = +- LDFLAGS = -pipe -s `fltk-config --ldstaticflags` ++ LDFLAGS = -pipe -s `fltk-config --ldflags` + endif + + SRC_OBJS = \ +@@ -52,12 +51,12 @@ SRC_OBJS = \ + + define build_target + @echo Linking... +-@$(CC) -o "$(OUTPUT_DIR)/$(TARGET)" $(SRC_OBJS) $(LIB_DIRS) $(LIBS) $(LDFLAGS) ++@$(CXX) -o "$(OUTPUT_DIR)/$(TARGET)" $(SRC_OBJS) $(LIB_DIRS) $(LIBS) $(LDFLAGS) + endef + + define compile_source + @echo Compiling $< +-@$(CC) $(CFLAGS) $(C_PREPROC) $(C_INCLUDE_DIRS) -c "$<" -o "$@" ++@$(CXX) $(CFLAGS) $(C_PREPROC) $(C_INCLUDE_DIRS) -c "$<" -o "$@" + endef + + .PHONY: print_header directories |