summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/rlwrap/Makefile8
-rw-r--r--misc/rlwrap/distinfo8
-rw-r--r--misc/rlwrap/options.mk16
3 files changed, 26 insertions, 6 deletions
diff --git a/misc/rlwrap/Makefile b/misc/rlwrap/Makefile
index 481c27e23b5..604bd6407a8 100644
--- a/misc/rlwrap/Makefile
+++ b/misc/rlwrap/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/08/24 09:54:31 heinz Exp $
+# $NetBSD: Makefile,v 1.2 2008/01/09 13:40:37 heinz Exp $
#
-DISTNAME= rlwrap-0.28
+DISTNAME= rlwrap-0.30
CATEGORIES= misc
MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/
@@ -9,12 +9,16 @@ MAINTAINER= heinz@NetBSD.org
HOMEPAGE= http://utopia.knoware.nl/~hlub/uck/rlwrap/
COMMENT= Provides command line editing and history for other commands
+#LICENSE= gnu-gpl-v2
+
PKG_DESTDIR_SUPPORT= user-destdir
BUILDLINK_API_DEPENDS.readline+=readline>=4.2
GNU_CONFIGURE= yes
+.include "options.mk"
+
USE_GNU_READLINE= yes
USE_LANGUAGES= c
USE_TOOLS+= gmake
diff --git a/misc/rlwrap/distinfo b/misc/rlwrap/distinfo
index a77fab26f49..42d8257e9b7 100644
--- a/misc/rlwrap/distinfo
+++ b/misc/rlwrap/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/08/24 09:54:31 heinz Exp $
+$NetBSD: distinfo,v 1.2 2008/01/09 13:40:38 heinz Exp $
-SHA1 (rlwrap-0.28.tar.gz) = b48bb61902e9c76eb22c63acd8c20a40a88a9a82
-RMD160 (rlwrap-0.28.tar.gz) = 09666c3706c4d0fd0acd1963ca212ab264dad022
-Size (rlwrap-0.28.tar.gz) = 163374 bytes
+SHA1 (rlwrap-0.30.tar.gz) = 26f3a6348710fee5e87f5274ddc29af8eaaf65d2
+RMD160 (rlwrap-0.30.tar.gz) = 23f19b9e98f61183fe719ee7a62db9d8ee2cf602
+Size (rlwrap-0.30.tar.gz) = 184037 bytes
diff --git a/misc/rlwrap/options.mk b/misc/rlwrap/options.mk
new file mode 100644
index 00000000000..79d4346a6ce
--- /dev/null
+++ b/misc/rlwrap/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2008/01/09 13:40:38 heinz Exp $
+#
+PKG_OPTIONS_VAR= PKG_OPTIONS.rlwrap
+PKG_SUPPORTED_OPTIONS= debug
+PKG_SUGGESTED_OPTIONS= # empty
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.options.mk"
+
+###
+### debug option
+###
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.endif