aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-04-07 02:02:00 +0800
committerrafan <rafan@FreeBSD.org>2007-04-07 02:02:00 +0800
commit336c7f1f299473343fd4b87b3a5c2a3aeb6e9d03 (patch)
tree5c98807b7fe0e872e0ab35be228417da5791c8ae /net-im
parentb54140949779bdf541fb7adc2813e0f5a33c8065 (diff)
downloadfreebsd-ports-gnome-336c7f1f299473343fd4b87b3a5c2a3aeb6e9d03.tar.gz
freebsd-ports-gnome-336c7f1f299473343fd4b87b3a5c2a3aeb6e9d03.tar.zst
freebsd-ports-gnome-336c7f1f299473343fd4b87b3a5c2a3aeb6e9d03.zip
- Update to 0.3.2
- Use ports' ncurses only on older system - Use PLIST_FILES since we have only one file in plist PR: ports/111252 Submitted by: Tsung-Han Yeh <snowfly at yuntech.edu.tw> (maintainer)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/tmsnc/Makefile20
-rw-r--r--net-im/tmsnc/distinfo6
-rw-r--r--net-im/tmsnc/files/patch-configure24
-rw-r--r--net-im/tmsnc/pkg-plist1
4 files changed, 27 insertions, 24 deletions
diff --git a/net-im/tmsnc/Makefile b/net-im/tmsnc/Makefile
index ae61b04593fe..f697fd514fc8 100644
--- a/net-im/tmsnc/Makefile
+++ b/net-im/tmsnc/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: tmsnc
-# Date created: 10 Sep 2005
+# Date created: 4 Apr 2007
# Whom: Tsung-Han Yeh <snowfly@yuntech.edu.tw>
#
# $FreeBSD$
#
PORTNAME= tmsnc
-PORTVERSION= 0.3.1
+PORTVERSION= 0.3.2
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,12 +14,16 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= snowfly@yuntech.edu.tw
COMMENT= A textbased (console) MSN client
-# this port need ncurses 5.4
-BUILD_DEPENDS+= ${LOCALBASE}/include/ncurses/ncurses.h:${PORTSDIR}/devel/ncurses
-RUN_DEPENDS+= ${LOCALBASE}/include/ncurses/ncurses.h:${PORTSDIR}/devel/ncurses
-
GNU_CONFIGURE= yes
-MAN1= tmsnc.1
+PLIST_FILES= bin/tmsnc
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
+# this port needs ncurses 5.4+
+BUILD_DEPENDS+= ${LOCALBASE}/include/ncurses/ncurses.h:${PORTSDIR}/devel/ncurses
+RUN_DEPENDS+= ${LOCALBASE}/include/ncurses/ncurses.h:${PORTSDIR}/devel/ncurses
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net-im/tmsnc/distinfo b/net-im/tmsnc/distinfo
index 13b41a889d67..7932dd89c1c2 100644
--- a/net-im/tmsnc/distinfo
+++ b/net-im/tmsnc/distinfo
@@ -1,3 +1,3 @@
-MD5 (tmsnc-0.3.1.tar.gz) = 3b30e5dab0b1b679d2b945c3a5713636
-SHA256 (tmsnc-0.3.1.tar.gz) = 1f89538b714147c13781b01b77ac44b81a82270506f187c80743b97ab1f1b441
-SIZE (tmsnc-0.3.1.tar.gz) = 163015
+MD5 (tmsnc-0.3.2.tar.gz) = 337dae91d4775e03b6681f61db56d2a7
+SHA256 (tmsnc-0.3.2.tar.gz) = 7f54ba3974f45c0787b6d62d0d62ce352ddbf95419123b98b4969b97d3dfed23
+SIZE (tmsnc-0.3.2.tar.gz) = 200018
diff --git a/net-im/tmsnc/files/patch-configure b/net-im/tmsnc/files/patch-configure
index 893473b6e817..e1b0f53c3298 100644
--- a/net-im/tmsnc/files/patch-configure
+++ b/net-im/tmsnc/files/patch-configure
@@ -1,13 +1,13 @@
---- configure.orig Wed Aug 10 17:42:42 2005
-+++ configure Wed Sep 14 08:29:30 2005
-@@ -6145,81 +6145,12 @@
+--- configure.orig Thu Apr 5 08:38:09 2007
++++ configure Thu Apr 5 08:47:12 2007
+@@ -5087,81 +5087,12 @@
if $search_ncurses
then
- if test -f /usr/include/ncurses.h
- then
-- echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses.h" >&5
--echo "${ECHO_T}Found ncurses on /usr/include/ncurses.h" >&6
+- { echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses.h" >&5
+-echo "${ECHO_T}Found ncurses on /usr/include/ncurses.h" >&6; }
- CURSES_LIBS="-lncurses"
- CURSES_INCLUDEDIR=""
- search_ncurses=false
@@ -29,8 +29,8 @@
- then
- if test -f /usr/include/ncurses/ncurses.h
- then
-- echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses/ncurses.h" >&5
--echo "${ECHO_T}Found ncurses on /usr/include/ncurses/ncurses.h" >&6
+- { echo "$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses/ncurses.h" >&5
+-echo "${ECHO_T}Found ncurses on /usr/include/ncurses/ncurses.h" >&6; }
- CURSES_LIBS="-lncurses"
- CURSES_INCLUDEDIR="-I/usr/include/ncurses"
- search_ncurses=false
@@ -52,8 +52,8 @@
- then
- if test -f /usr/local/include/ncurses.h
- then
-- echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses.h" >&5
--echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses.h" >&6
+- { echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses.h" >&5
+-echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses.h" >&6; }
- CURSES_LIBS="-L/usr/local/lib -lncurses"
- CURSES_INCLUDEDIR="-I/usr/local/include"
- search_ncurses=false
@@ -75,11 +75,11 @@
- then
if test -f /usr/local/include/ncurses/ncurses.h
then
- echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses/ncurses.h" >&5
- echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses/ncurses.h" >&6
+ { echo "$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses/ncurses.h" >&5
+ echo "${ECHO_T}Found ncurses on /usr/local/include/ncurses/ncurses.h" >&6; }
- CURSES_LIBS="-L/usr/local/lib -L/usr/local/lib/ncurses -lncurses"
- CURSES_INCLUDEDIR="-I/usr/local/include/ncurses"
-+ CURSES_LIBS="-L/usr/local/lib -L/usr/local/lib/ncurses -Wl,-rpath,/usr/local/lib -lncurses"
++ CURSES_LIBS="-L/usr/local/lib -L/usr/local/lib/ncurses -Wl,-rpath,/usr/local/lib -lncurses"
+ CURSES_INCLUDEDIR="-I/usr/local/include -I/usr/local/include/ncurses"
search_ncurses=false
screen_manager="ncurses on /usr/local/include/ncurses"
diff --git a/net-im/tmsnc/pkg-plist b/net-im/tmsnc/pkg-plist
deleted file mode 100644
index 4657b69f6e26..000000000000
--- a/net-im/tmsnc/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/tmsnc