View | Details | Raw Unified | Return to bug 125255 | Differences between
and this patch

Collapse All | Expand All

(-)UPDATING (+14 lines)
Lines 6-11 Link Here
6
time you update your ports collection, before attempting any port
6
time you update your ports collection, before attempting any port
7
upgrades.
7
upgrades.
8
8
9
20080811:
10
  AFFECTS: users of devel/libslang and other dependent ports
11
  AUTHOR: pgollucci@FreeBSD.org
12
13
  Obsolete devel/libslang in favor of devel/libslang2.
14
  WITH_SLANG2 is no longer a valid port make option.
15
  Update devel/libslang before updating other ports as follows:
16
17
    portmaster -o devel/libslang devel/libslang2
18
19
  or 
20
  
21
    portupgrade -o devel/libslang devel/libslang2
22
9
20080808
23
20080808
10
  AFFECTS: users of chinese/phpbb-tw
24
  AFFECTS: users of chinese/phpbb-tw
11
  AUTHOR: chinsan@FreeBSD.org
25
  AUTHOR: chinsan@FreeBSD.org
(-)comms/hf/Makefile (-2 / +2 lines)
Lines 7-15 Link Here
7
7
8
PORTNAME=	hf
8
PORTNAME=	hf
9
PORTVERSION=	0.8
9
PORTVERSION=	0.8
10
PORTREVISION=	4
10
PORTREVISION=	5
11
CATEGORIES=	comms hamradio
11
CATEGORIES=	comms hamradio
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	SF
13
MASTER_SITE_SUBDIR=	hfterm
13
MASTER_SITE_SUBDIR=	hfterm
14
14
15
MAINTAINER=	db@FreeBSD.org
15
MAINTAINER=	db@FreeBSD.org
(-)misc/zaptel/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	zaptel
8
PORTNAME=	zaptel
9
PORTVERSION=	1.4.6
9
PORTVERSION=	1.4.6
10
PORTREVISION=	5
10
PORTREVISION=	6
11
CATEGORIES=	misc kld
11
CATEGORIES=	misc kld
12
MASTER_SITES=	http://www.pbxpress.com/~gonzo/
12
MASTER_SITES=	http://www.pbxpress.com/~gonzo/
13
DISTNAME=	${PORTNAME}-bsd-${PORTVERSION}
13
DISTNAME=	${PORTNAME}-bsd-${PORTVERSION}
(-)lang/harbour/Makefile (-3 / +2 lines)
Lines 7-27 Link Here
7
7
8
PORTNAME=	harbour
8
PORTNAME=	harbour
9
PORTVERSION=	0.44.0
9
PORTVERSION=	0.44.0
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	lang
11
CATEGORIES=	lang
12
MASTER_SITES=	ftp://ftp.jsd0.com/public/harbour/dgh/
12
MASTER_SITES=	ftp://ftp.jsd0.com/public/harbour/dgh/
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	An open source Clipper-compatible compiler
15
COMMENT=	An open source Clipper-compatible compiler
16
16
17
LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
17
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
18
18
19
# Not 64-bit clean
19
# Not 64-bit clean
20
ONLY_FOR_ARCHS=	i386
20
ONLY_FOR_ARCHS=	i386
21
WRKSRC=		${WRKDIR}
21
WRKSRC=		${WRKDIR}
22
USE_BISON=	build
22
USE_BISON=	build
23
USE_GMAKE=	yes
23
USE_GMAKE=	yes
24
NO_INSTALL_MANPAGES=yes
25
NOPRECIOUSMAKEVARS=yes
24
NOPRECIOUSMAKEVARS=yes
26
25
27
HB_DIR=		${WRKDIR}/${PORTNAME}
26
HB_DIR=		${WRKDIR}/${PORTNAME}
(-)news/slrn/Makefile (-23 / +17 lines)
Lines 6-35 Link Here
6
#
6
#
7
7
8
PORTNAME=	slrn
8
PORTNAME=	slrn
9
PORTVERSION=	0.9.8.1
9
PORTVERSION=	0.9.9
10
PORTREVISION=	1
10
PORTREVISION=	1
11
CATEGORIES=	news ipv6
11
CATEGORIES=	news ipv6
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
12
MASTER_SITES=	SF
13
		ftp://angel.sovam.com/pub/tools/net/news/ \
14
		ftp://ftp.fu-berlin.de/pub/unix/news/slrn/ \
15
		ftp://ftp.ntua.gr/pub/lang/slang/slrn/ \
16
		ftp://ftp.plig.org/pub/slrn/
17
MASTER_SITE_SUBDIR=	${PORTNAME}
18
19
PATCH_SITES=	http://slrn.sourceforge.net/patches/
20
PATCHFILES=	slrn-0.9.8.1-fetch.diff \
21
		slrn-0.9.8.1-lastchar2.diff
22
PATCH_DIST_STRIP=	-p1
23
13
24
MAINTAINER=	shaun@FreeBSD.org
14
MAINTAINER=	shaun@FreeBSD.org
25
COMMENT=	SLang-based newsreader
15
COMMENT=	SLang-based newsreader
26
16
27
LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
17
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
28
18
29
USE_BZIP2=	yes
30
USE_GMAKE=	yes
19
USE_GMAKE=	yes
31
USE_ICONV=	yes
20
USE_ICONV=	yes
32
21
22
.if defined(NOPORTDOCS)
23
EXTRA_PATCHES=	${FILESDIR}/extra-patch-src__Makefile.in
24
.endif
25
33
.if defined(WITHOUT_NLS)
26
.if defined(WITHOUT_NLS)
34
CONFIGURE_ARGS+=	--disable-nls
27
CONFIGURE_ARGS+=	--disable-nls
35
PLIST_SUB+=	NLS="@comment "
28
PLIST_SUB+=	NLS="@comment "
Lines 38-48 Link Here
38
PLIST_SUB+=	NLS=""
31
PLIST_SUB+=	NLS=""
39
.endif
32
.endif
40
33
41
GNU_CONFIGURE=	yes
42
CONFIGURE_ARGS+=	--enable-ipv6 --disable-inews --with-slrnpull \
43
			--with-libiconv-prefix=${LOCALBASE}
44
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
45
46
.if !defined(WITHOUT_SSL)
34
.if !defined(WITHOUT_SSL)
47
USE_OPENSSL=	YES
35
USE_OPENSSL=	YES
48
CONFIGURE_ARGS+=	--with-ssl
36
CONFIGURE_ARGS+=	--with-ssl
Lines 53-70 Link Here
53
CONFIGURE_ARGS+=	--with-uudeview
41
CONFIGURE_ARGS+=	--with-uudeview
54
.endif
42
.endif
55
43
44
GNU_CONFIGURE=	yes
45
CONFIGURE_ARGS+=	--enable-ipv6 --disable-inews --with-slrnpull \
46
			--with-libiconv-prefix=${LOCALBASE}
47
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
48
56
ALL_TARGET=	all
49
ALL_TARGET=	all
57
50
58
MAN1=		slrn.1 slrnpull.1
51
MAN1=		slrn.1 slrnpull.1
59
52
60
.if defined(NOPORTDOCS)
53
.if !defined(NOPORTDOCS)
61
MAKE_ENV+=	NOPORTDOCS=yes
54
PORTDOCS=	*
62
.endif
55
.endif
63
56
64
post-patch:
57
post-patch:
65
	@${REINPLACE_CMD} -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \
66
		${WRKSRC}/src/slrnfeat.h
67
	@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \
58
	@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \
68
		${WRKSRC}/src/jdmacros.h
59
		${WRKSRC}/src/jdmacros.h
60
post-configure:
61
	@${REINPLACE_CMD} -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \
62
		${WRKSRC}/src/slrnfeat.h
69
63
70
.include <bsd.port.mk>
64
.include <bsd.port.mk>
(-)news/slrn/distinfo (-9 / +3 lines)
Lines 1-9 Link Here
1
MD5 (slrn-0.9.8.1.tar.bz2) = 9b613007df537444a5f8a4a2994fadb7
1
MD5 (slrn-0.9.9.tar.gz) = 87c0172887bf6e020759bf6241c003fc
2
SHA256 (slrn-0.9.8.1.tar.bz2) = 46968e442ece567b7928faefa0774f675761b474be80e9487235c20f50a9fd05
2
SHA256 (slrn-0.9.9.tar.gz) = fea654bdd7f9577dc4f50cc69b8928b3e5b283652bd022ec5265a4da88d944a4
3
SIZE (slrn-0.9.8.1.tar.bz2) = 1034332
3
SIZE (slrn-0.9.9.tar.gz) = 1532550
4
MD5 (slrn-0.9.8.1-fetch.diff) = 969471685aa7412bc60869649312618f
5
SHA256 (slrn-0.9.8.1-fetch.diff) = 0ae228075f15977f0d063cd60ef89be3c984692eed75ea7aa3ebb3bb59d7e243
6
SIZE (slrn-0.9.8.1-fetch.diff) = 920
7
MD5 (slrn-0.9.8.1-lastchar2.diff) = 01717350eabdcda662ff2444d8b3e560
8
SHA256 (slrn-0.9.8.1-lastchar2.diff) = 940e6a10cfb2ee97a6d0ae1b7af8d0744a40fd627db86bf44e8e1a9f2f20f3b8
9
SIZE (slrn-0.9.8.1-lastchar2.diff) = 4732
(-)news/slrn/pkg-plist (-43 / +16 lines)
Lines 1-31 Link Here
1
bin/slrn
1
bin/slrn
2
bin/slrnpull
2
bin/slrnpull
3
%%PORTDOCS%%%%DOCSDIR%%/COPYING
4
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
5
%%PORTDOCS%%%%DOCSDIR%%/FAQ
6
%%PORTDOCS%%%%DOCSDIR%%/FIRST_STEPS
7
%%PORTDOCS%%%%DOCSDIR%%/README
8
%%PORTDOCS%%%%DOCSDIR%%/README.GroupLens
9
%%PORTDOCS%%%%DOCSDIR%%/README.SSL
10
%%PORTDOCS%%%%DOCSDIR%%/README.macros
11
%%PORTDOCS%%%%DOCSDIR%%/README.multiuser
12
%%PORTDOCS%%%%DOCSDIR%%/THANKS
13
%%PORTDOCS%%%%DOCSDIR%%/changes.txt
14
%%PORTDOCS%%%%DOCSDIR%%/help.txt
15
%%PORTDOCS%%%%DOCSDIR%%/manual.txt
16
%%PORTDOCS%%%%DOCSDIR%%/score.sl
17
%%PORTDOCS%%%%DOCSDIR%%/score.txt
18
%%PORTDOCS%%%%DOCSDIR%%/slrn-doc.html
19
%%PORTDOCS%%%%DOCSDIR%%/slrn.rc
20
%%PORTDOCS%%%%DOCSDIR%%/slrnfuns.txt
21
%%PORTDOCS%%%%DOCSDIR%%/slrnpull/README
22
%%PORTDOCS%%%%DOCSDIR%%/slrnpull/README.offline
23
%%PORTDOCS%%%%DOCSDIR%%/slrnpull/SETUP
24
%%PORTDOCS%%%%DOCSDIR%%/slrnpull/score
25
%%PORTDOCS%%%%DOCSDIR%%/slrnpull/setgid.txt
26
%%PORTDOCS%%%%DOCSDIR%%/slrnpull/slrn.rc
27
%%PORTDOCS%%%%DOCSDIR%%/slrnpull/slrnpull.conf
28
%%PORTDOCS%%%%DOCSDIR%%/slrnpull/slrnpull.sh
29
%%NLS%%share/locale/be/LC_MESSAGES/slrn.mo
3
%%NLS%%share/locale/be/LC_MESSAGES/slrn.mo
30
%%NLS%%share/locale/da/LC_MESSAGES/slrn.mo
4
%%NLS%%share/locale/da/LC_MESSAGES/slrn.mo
31
%%NLS%%share/locale/de/LC_MESSAGES/slrn.mo
5
%%NLS%%share/locale/de/LC_MESSAGES/slrn.mo
Lines 39-59 Link Here
39
%%NLS%%share/locale/ru/LC_MESSAGES/slrn.mo
13
%%NLS%%share/locale/ru/LC_MESSAGES/slrn.mo
40
%%NLS%%share/locale/sv/LC_MESSAGES/slrn.mo
14
%%NLS%%share/locale/sv/LC_MESSAGES/slrn.mo
41
%%NLS%%share/locale/tr/LC_MESSAGES/slrn.mo
15
%%NLS%%share/locale/tr/LC_MESSAGES/slrn.mo
42
%%DATADIR%%/macros/color.sl
16
%%DATADIR%%/slang/slrn.sl
43
%%DATADIR%%/macros/gsort.sl
17
%%DATADIR%%/slang/color.sl
44
%%DATADIR%%/macros/ispell.sl
18
%%DATADIR%%/slang/gsort.sl
45
%%DATADIR%%/macros/latin2.sl
19
%%DATADIR%%/slang/ispell.sl
46
%%DATADIR%%/macros/multipart.sl
20
%%DATADIR%%/slang/latin2.sl
47
%%DATADIR%%/macros/nn.sl
21
%%DATADIR%%/slang/multipart.sl
48
%%DATADIR%%/macros/posthook.sl
22
%%DATADIR%%/slang/nn.sl
49
%%DATADIR%%/macros/search.sl
23
%%DATADIR%%/slang/posthook.sl
50
%%DATADIR%%/macros/tin-art.sl
24
%%DATADIR%%/slang/search.sl
51
%%DATADIR%%/macros/tin-group.sl
25
%%DATADIR%%/slang/tin-art.sl
52
%%DATADIR%%/macros/ttyprint.sl
26
%%DATADIR%%/slang/tin-group.sl
53
%%DATADIR%%/macros/util.sl
27
%%DATADIR%%/slang/ttyprint.sl
54
%%DATADIR%%/macros/varset.sl
28
%%DATADIR%%/slang/util.sl
55
%%DATADIR%%/macros/xcomment.sl
29
%%DATADIR%%/slang/varset.sl
56
@dirrm %%DATADIR%%/macros
30
%%DATADIR%%/slang/xcomment.sl
31
@dirrm %%DATADIR%%/slang
57
@dirrm %%DATADIR%%
32
@dirrm %%DATADIR%%
58
%%PORTDOCS%%@dirrm %%DOCSDIR%%/slrnpull
59
%%PORTDOCS%%@dirrm %%DOCSDIR%%
(-)news/slrn/files/extra-patch-src__Makefile.in (+26 lines)
Added Link Here
1
--- ./src/Makefile.in.orig	2008-03-03 19:39:26.000000000 +0000
2
+++ ./src/Makefile.in	2008-08-13 06:52:17.000000000 +0000
3
@@ -71,11 +71,11 @@
4
  -DNLS_LOCALEDIR=\"$(LOCALEDIR)\"
5
 
6
 # Files to install in DOC_DIR:
7
-DOCDIR_FILES = `cat ../doc/INSTFILES`
8
-UP_DOC_FILES = COPYRIGHT COPYING README changes.txt
9
+DOCDIR_FILES = 
10
+UP_DOC_FILES =
11
 MAN_FILES = ../doc/slrn.1 @MAN_SLRNPULL@
12
 SLANG_FILES = `cat ../macros/INSTFILES`
13
-SLRNPULL_DOCS = ../slrnpull/*
14
+SLRNPULL_DOCS = 
15
 CONF_FILES = #../lib/slrn.conf (Note: uncomment DEST_CONFDIR setting if non-empty)
16
 
17
 #----------------------------------------------------------------------------
18
@@ -145,8 +145,6 @@
19
 	cd ../po; $(MAKE) distclean
20
 installdirs:
21
 	$(MKINSDIR) $(DEST_BINDIR)
22
-	$(MKINSDIR) $(DEST_DOCDIR)
23
-	$(MKINSDIR) $(DEST_DOCDIR)/slrnpull
24
 	$(MKINSDIR) $(DEST_MANDIR)/man1
25
 	$(MKINSDIR) $(DEST_SLRN_LIB_DIR)
26
 	$(MKINSDIR) $(DEST_SLRN_SLANG_DIR)
(-)news/slrn/files/patch-Makefile.in (-30 lines)
Removed Link Here
1
--- Makefile.in.orig	Thu Oct  7 00:30:27 2004
2
+++ Makefile.in	Fri Nov  5 21:57:51 2004
3
@@ -243,6 +243,7 @@
4
 	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
5
 uninstall-info-am:
6
 install-docDATA: $(doc_DATA)
7
+ifndef NOPORTDOCS
8
 	@$(NORMAL_INSTALL)
9
 	test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
10
 	@list='$(doc_DATA)'; for p in $$list; do \
11
@@ -251,6 +252,7 @@
12
 	  echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
13
 	  $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
14
 	done
15
+endif
16
 
17
 uninstall-docDATA:
18
 	@$(NORMAL_UNINSTALL)
19
@@ -524,9 +526,11 @@
20
 all-am: Makefile $(DATA) all-local
21
 installdirs: installdirs-recursive
22
 installdirs-am:
23
+ifndef NOPORTDOCS
24
 	for dir in "$(DESTDIR)$(docdir)"; do \
25
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
26
 	done
27
+endif
28
 install: install-recursive
29
 install-exec: install-exec-recursive
30
 install-data: install-data-recursive
(-)news/slrn/files/patch-doc::Makefile.in (-46 lines)
Removed Link Here
1
--- doc/Makefile.in.orig	Thu Oct  7 00:30:28 2004
2
+++ doc/Makefile.in	Fri Nov  5 21:40:07 2004
3
@@ -268,6 +268,7 @@
4
 	  rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
5
 	done
6
 install-docDATA: $(doc_DATA)
7
+ifndef NOPORTDOCS
8
 	@$(NORMAL_INSTALL)
9
 	test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
10
 	@list='$(doc_DATA)'; for p in $$list; do \
11
@@ -276,6 +277,7 @@
12
 	  echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
13
 	  $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
14
 	done
15
+endif
16
 
17
 uninstall-docDATA:
18
 	@$(NORMAL_UNINSTALL)
19
@@ -447,9 +449,11 @@
20
 all-am: Makefile $(MANS) $(DATA)
21
 installdirs: installdirs-recursive
22
 installdirs-am:
23
+ifndef NOPORTDOCS
24
 	for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)"; do \
25
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
26
 	done
27
+endif
28
 install: install-recursive
29
 install-exec: install-exec-recursive
30
 install-data: install-data-recursive
31
@@ -542,6 +546,7 @@
32
 
33
 
34
 install-data-local:
35
+ifndef NOPORTDOCS
36
 	@if test "x$(SLRNPULL)" = "xslrnpull"; then \
37
 	$(mkinstalldirs) $(DESTDIR)$(docdir)/slrnpull; \
38
 	list='$(PULLDOCS)'; for p in $$list; do \
39
@@ -551,6 +556,7 @@
40
 	  fi; \
41
 	done; \
42
 	fi;
43
+endif
44
 
45
 uninstall-local:
46
 	list='$(PULLDOCS)'; for p in $$list; do \
(-)www/asterisk-gui/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	asterisk-gui
8
PORTNAME=	asterisk-gui
9
PORTVERSION=	0.0.1r20070801
9
PORTVERSION=	0.0.1r20070801
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	www
11
CATEGORIES=	www
12
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
12
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
13
DISTNAME=	${PORTNAME}-snap-2007-08-01
13
DISTNAME=	${PORTNAME}-snap-2007-08-01
(-)net/asterisk-bristuff/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	asterisk
8
PORTNAME=	asterisk
9
PORTVERSION=	1.2.13
9
PORTVERSION=	1.2.13
10
PORTREVISION=	7
10
PORTREVISION=	8
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	http://ftp.digium.com/pub/asterisk/ \
12
MASTER_SITES=	http://ftp.digium.com/pub/asterisk/ \
13
		http://ftp.digium.com/pub/asterisk/old-releases/
13
		http://ftp.digium.com/pub/asterisk/old-releases/
(-)editors/lpe/Makefile (-3 / +3 lines)
Lines 7-22 Link Here
7
7
8
PORTNAME=	lpe
8
PORTNAME=	lpe
9
PORTVERSION=	1.2.6
9
PORTVERSION=	1.2.6
10
PORTREVISION=	5
10
PORTREVISION=	6
11
CATEGORIES=	editors
11
CATEGORIES=	editors
12
MASTER_SITES=	ftp://ftp.sasknow.com/pub/ \
12
MASTER_SITES=	ftp://ftp.sasknow.com/pub/ \
13
		ftp://ftp.twu.net/users/cdsmith/lpe/
13
		ftp://ftp.twu.net/users/cdsmith/lpe/
14
MASTER_SITE_SUBDIR=	${PORTNAME}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
15
15
16
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	pgollucci@FreeBSD.org
17
COMMENT=	A "lightweight programmer's editor" with syntax highlighting
17
COMMENT=	A "lightweight programmer's editor" with syntax highlighting
18
18
19
LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
19
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
20
20
21
USE_AUTOTOOLS=	libtool:15
21
USE_AUTOTOOLS=	libtool:15
22
USE_GETTEXT=	yes
22
USE_GETTEXT=	yes
(-)editors/lpe/files/patch-src__cfg.c (+11 lines)
Added Link Here
1
--- ./src/cfg.c.orig	2008-08-08 07:51:20.000000000 +0000
2
+++ ./src/cfg.c	2008-08-08 07:52:05.000000000 +0000
3
@@ -37,7 +37,7 @@
4
 	if (SLang_load_file (DATADIR "/lpe/init.sl") == -1)
5
 	{
6
 	    SLang_restart (1);
7
-	    SLang_Error = 0;
8
+	    SLang_set_error(0);
9
 	}
10
     }
11
 }
(-)editors/lpe/files/patch-src__input.c (+11 lines)
Added Link Here
1
--- ./src/input.c.orig	2008-08-08 07:51:24.000000000 +0000
2
+++ ./src/input.c	2008-08-08 07:51:48.000000000 +0000
3
@@ -2262,7 +2262,7 @@
4
     SLang_load_string (cmd);
5
     /* to avoid slang stack overflows... */
6
     SLang_restart (1);
7
-    SLang_Error = 0;
8
+    SLang_set_error(0);
9
 
10
     /* 
11
      * This is not the nicest thing to do, but certain slang commnds,
(-)audio/timidity++-slang/Makefile (-2 / +2 lines)
Lines 7-16 Link Here
7
7
8
PKGNAMESUFFIX=	-slang
8
PKGNAMESUFFIX=	-slang
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	pgollucci@FreeBSD.org
11
COMMENT=	Slang interface for TiMidity++
11
COMMENT=	Slang interface for TiMidity++
12
12
13
MASTERDIR=	${.CURDIR}/../..//audio/timidity++
13
MASTERDIR=	${.CURDIR}/../../audio/timidity++
14
14
15
PLIST_FILES=	${TIMID_LIBDIR}/interface_s.so
15
PLIST_FILES=	${TIMID_LIBDIR}/interface_s.so
16
16
(-)net/yate-devel/Makefile (-9 / +4 lines)
Lines 8-14 Link Here
8
PORTNAME=	yate
8
PORTNAME=	yate
9
PORTVERSION=	1.3.0.p2
9
PORTVERSION=	1.3.0.p2
10
DISTVERSION=	${PORTVERSION:S/.p/-/}
10
DISTVERSION=	${PORTVERSION:S/.p/-/}
11
PORTREVISION=	1
11
PORTREVISION=	2
12
CATEGORIES=	net comms
12
CATEGORIES=	net comms
13
MASTER_SITES=	http://cto.homelinux.net/pub/FreeBSD/ports/distfiles/ \
13
MASTER_SITES=	http://cto.homelinux.net/pub/FreeBSD/ports/distfiles/ \
14
		${MASTER_SITE_LOCAL}
14
		${MASTER_SITE_LOCAL}
Lines 46-53 Link Here
46
		ZAPTEL "Zaptel hardware channel/driver support" on \
46
		ZAPTEL "Zaptel hardware channel/driver support" on \
47
		FAX "Fax software channel/driver support" on
47
		FAX "Fax software channel/driver support" on
48
48
49
DOCSDIR=	${LOCALBASE}/share/doc/yate
49
PORTDOCS=	*
50
PORTDOCS=	${DOCSDIR}/*
51
PLIST_SUB=	BRISTUFF="@comment "
50
PLIST_SUB=	BRISTUFF="@comment "
52
PLIST_SUB+=	VERSION=${PORTVERSION:S/.p2//}
51
PLIST_SUB+=	VERSION=${PORTVERSION:S/.p2//}
53
SUB_FILES=	pkg-message
52
SUB_FILES=	pkg-message
Lines 120-131 Link Here
120
PLIST_SUB+=	WITH_FAX="@comment "
119
PLIST_SUB+=	WITH_FAX="@comment "
121
.endif
120
.endif
122
121
123
.if ${OSVERSION} >= 500036
124
PLIST_SUB+=	NEWGCC=""
125
.else
126
PLIST_SUB+=	NEWGCC="@comment "
127
.endif
128
129
post-patch:
122
post-patch:
130
	${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
123
	${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
131
		${WRKSRC}/modules/Makefile.in
124
		${WRKSRC}/modules/Makefile.in
Lines 134-144 Link Here
134
	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
127
	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
135
128
136
post-install:
129
post-install:
130
.if !defined(NOPORTDOCS)
137
	@${MKDIR} ${DOCSDIR}
131
	@${MKDIR} ${DOCSDIR}
138
	@${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
132
	@${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
139
	@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
133
	@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
140
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
134
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
141
	@${INSTALL_DATA} files/README.too ${DOCSDIR}
135
	@${INSTALL_DATA} files/README.too ${DOCSDIR}
136
.endif
142
	@cd ${PREFIX}/etc/${PORTNAME}; for cfg in *.sample; do test -f $${cfg%%.sample} || cp -p $${cfg} $${cfg%%.sample}; done
137
	@cd ${PREFIX}/etc/${PORTNAME}; for cfg in *.sample; do test -f $${cfg%%.sample} || cp -p $${cfg} $${cfg%%.sample}; done
143
	@${CAT} ${PKGMESSAGE}
138
	@${CAT} ${PKGMESSAGE}
144
139
(-)net/yate-devel/pkg-deinstall (+45 lines)
Added Link Here
1
#! /bin/sh
2
3
yesno() {
4
    local dflt question answer
5
6
    question=$1
7
    dflt=$2
8
    while :; do
9
	answer=$(ask "${question}" "${dflt}")
10
	case "${answer}" in
11
	[Yy]*)		return 0;;
12
	[Nn]*)		return 1;;
13
	esac
14
	echo "Please answer yes or no."
15
    done
16
}
17
18
delete_account() {
19
    local u g home
20
21
    u=$1
22
    g=$2
23
    if yesno "Do you want me to remove group \"${g}\"" y; then
24
	pw groupdel -n ${g}
25
	echo "Done."
26
    fi
27
    if yesno "Do you want me to remove user \"${u}\"" y; then
28
	eval home=~${u}
29
	pw userdel -n ${u}
30
	echo "Done."
31
	if [ -d "${home}" ]; then
32
	    echo "Please remember to remove the home directory \"${home}\" as"
33
	    echo "well as the mirrored files."
34
	fi
35
    fi
36
}
37
38
if [ x$2 != xDEINSTALL ]; then
39
    exit
40
fi
41
42
export PATH=/bin:/usr/bin:/usr/sbin
43
44
delete_account ${user} ${group}
45
delete_account ${cuser} ${cgroup}
(-)net/yate-devel/pkg-plist (-4 / +5 lines)
Lines 172-181 Link Here
172
sbin/yate
172
sbin/yate
173
sbin/yate-config
173
sbin/yate-config
174
%%WITH_X11%%share/applications/yate-gtk2.desktop
174
%%WITH_X11%%share/applications/yate-gtk2.desktop
175
share/doc/yate/COPYING
175
%%PORTDOCS%%%%DOCSDIR%%/COPYING
176
share/doc/yate/ChangeLog
176
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
177
share/doc/yate/README
177
%%PORTDOCS%%%%DOCSDIR%%/README
178
share/doc/yate/README.too
178
%%PORTDOCS%%%%DOCSDIR%%/README.too
179
%%PORTDOCS%%@dirrm %%DOCSDIR%%
179
@dirrmtry etc/yate
180
@dirrmtry etc/yate
180
@dirrm include/yate
181
@dirrm include/yate
181
%%WITH_X11%%@dirrmtry lib/menu
182
%%WITH_X11%%@dirrmtry lib/menu
(-)net-mgmt/nettop/Makefile (-1 / +2 lines)
Lines 7-19 Link Here
7
7
8
PORTNAME=	nettop
8
PORTNAME=	nettop
9
PORTVERSION=	0.2.3
9
PORTVERSION=	0.2.3
10
PORTREVISION=	1
10
CATEGORIES=	net-mgmt
11
CATEGORIES=	net-mgmt
11
MASTER_SITES=	http://srparish.net/scripts/
12
MASTER_SITES=	http://srparish.net/scripts/
12
13
13
MAINTAINER=	leeym@FreeBSD.org
14
MAINTAINER=	leeym@FreeBSD.org
14
COMMENT=	A program which looks like top, but is for network packets
15
COMMENT=	A program which looks like top, but is for network packets
15
16
16
LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
17
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
17
18
18
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--with-slang-libraries=${LOCALBASE}/lib \
20
CONFIGURE_ARGS=	--with-slang-libraries=${LOCALBASE}/lib \
(-)japanese/asterisk-sound/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	asterisk-sounds
8
PORTNAME=	asterisk-sounds
9
PORTVERSION=	1.4
9
PORTVERSION=	1.4
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	japanese net
11
CATEGORIES=	japanese net
12
MASTER_SITES=	ftp://ftp.voip-info.jp/asterisk/sounds/
12
MASTER_SITES=	ftp://ftp.voip-info.jp/asterisk/sounds/
13
DISTNAME=	${PORTVERSION:S|.|_|}/${PORTNAME:S|sounds|sound|}-jp_${PORTVERSION:S|.||}_beta
13
DISTNAME=	${PORTVERSION:S|.|_|}/${PORTNAME:S|sounds|sound|}-jp_${PORTVERSION:S|.||}_beta
(-)net/astmanproxy/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	astmanproxy
8
PORTNAME=	astmanproxy
9
PORTVERSION=	1.21
9
PORTVERSION=	1.21
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	http://www.popvox.com/
12
MASTER_SITES=	http://www.popvox.com/
13
DISTFILES=	astmanproxy-latest.tgz
13
DISTFILES=	astmanproxy-latest.tgz
(-)misc/pdmenu/Makefile (-10 / +4 lines)
Lines 6-19 Link Here
6
6
7
PORTNAME=	pdmenu
7
PORTNAME=	pdmenu
8
PORTVERSION=	1.2.95
8
PORTVERSION=	1.2.95
9
PORTREVISION=	1
9
CATEGORIES=	misc
10
CATEGORIES=	misc
10
MASTER_SITES=	DEBIAN
11
MASTER_SITES=	DEBIAN
11
DISTNAME=	${PORTNAME}_${PORTVERSION}
12
DISTNAME=	${PORTNAME}_${PORTVERSION}
12
13
13
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	pgollucci@FreeBSD.org
14
COMMENT=	A simple console menu program
15
COMMENT=	A simple console menu program
15
16
16
OPTIONS=	SLANG2 "Build using libslang-2.x" off
17
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
17
18
18
WRKSRC=		${WRKDIR}/${PORTNAME}
19
WRKSRC=		${WRKDIR}/${PORTNAME}
19
20
Lines 35-47 Link Here
35
		%%DATADIR%%/showdir.pl
36
		%%DATADIR%%/showdir.pl
36
PLIST_DIRS=	%%DATADIR%%
37
PLIST_DIRS=	%%DATADIR%%
37
38
38
.include <bsd.port.pre.mk>
39
40
.if defined(WITH_SLANG2)
41
LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
42
.else
43
LIB_DEPENDS+=	slang.1:${PORTSDIR}/devel/libslang
44
.endif
45
39
46
do-install:
40
do-install:
47
	${INSTALL_PROGRAM} ${WRKSRC}/pdmenu ${PREFIX}/bin
41
	${INSTALL_PROGRAM} ${WRKSRC}/pdmenu ${PREFIX}/bin
Lines 59-62 Link Here
59
post-install:
53
post-install:
60
	@${STRIP_CMD} ${PREFIX}/bin/pdmenu
54
	@${STRIP_CMD} ${PREFIX}/bin/pdmenu
61
55
62
.include <bsd.port.post.mk>
56
.include <bsd.port.mk>
(-)net/astfax/Makefile (-2 / +2 lines)
Lines 7-17 Link Here
7
7
8
PORTNAME=	astfax
8
PORTNAME=	astfax
9
PORTVERSION=	1.0
9
PORTVERSION=	1.0
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	http://www.inter7.com/astfax/
12
MASTER_SITES=	http://www.inter7.com/astfax/
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	pgollucci@FreeBSD.org
15
COMMENT=	AstFax provides an outgoing email to fax gateway for Asterisk
15
COMMENT=	AstFax provides an outgoing email to fax gateway for Asterisk
16
16
17
LIB_DEPENDS=	spandsp.0:${PORTSDIR}/comms/spandsp
17
LIB_DEPENDS=	spandsp.0:${PORTSDIR}/comms/spandsp
(-)devel/erlslang/Makefile (-4 / +5 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	erlslang
8
PORTNAME=	erlslang
9
PORTVERSION=	1.0
9
PORTVERSION=	1.0
10
PORTREVISION=	5
10
PORTREVISION=	6
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	http://www.erlang.org/contrib/ \
12
MASTER_SITES=	http://www.erlang.org/contrib/ \
13
		http://erlang.stacken.kth.se/contrib/ \
13
		http://erlang.stacken.kth.se/contrib/ \
Lines 25-37 Link Here
25
25
26
PLIST_SUB=	VERSION="${PORTVERSION}"
26
PLIST_SUB=	VERSION="${PORTVERSION}"
27
27
28
EXPIRATION_DATE=	2009-01-01
29
DEPRECATED=	Only compiles with devel/libslang with will be removed 2009-01-01
30
28
USE_GMAKE=	yes
31
USE_GMAKE=	yes
29
USE_AUTOTOOLS=	autoconf:213
32
USE_AUTOTOOLS=	autoconf:213
30
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
31
CONFIGURE_WRKSRC=${WRKSRC}/config
34
CONFIGURE_WRKSRC=${WRKSRC}/config
32
35
33
.include <bsd.port.pre.mk>
34
35
post-build:
36
post-build:
36
	@${RM} -r ${WRKSRC}/*/CVS
37
	@${RM} -r ${WRKSRC}/*/CVS
37
	@${RM} -r ${WRKSRC}/*/.cvsignore
38
	@${RM} -r ${WRKSRC}/*/.cvsignore
Lines 48-51 Link Here
48
	@${CP} -r ${WRKSRC}/src   ${PREFIX}/lib/erlang/lib/${DISTNAME}/src
49
	@${CP} -r ${WRKSRC}/src   ${PREFIX}/lib/erlang/lib/${DISTNAME}/src
49
	@${LN} -sf ${DISTNAME} ${PREFIX}/lib/erlang/lib/slang
50
	@${LN} -sf ${DISTNAME} ${PREFIX}/lib/erlang/lib/slang
50
51
51
.include <bsd.port.post.mk>
52
.include <bsd.port.mk>
(-)math/slsc/Makefile (+3 lines)
Lines 18-23 Link Here
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
20
21
DEPRECATED=	No longer maintained by author
22
EXPIRATION_DATE=	2008-10-08
23
21
post-install:
24
post-install:
22
	${STRIP_CMD} ${PREFIX}/bin/slsc ${PREFIX}/share/slsc/vprint
25
	${STRIP_CMD} ${PREFIX}/bin/slsc ${PREFIX}/share/slsc/vprint
23
26
(-)net/asterisk12/Makefile (-1 / +1 lines)
Lines 8-14 Link Here
8
PORTNAME=	asterisk
8
PORTNAME=	asterisk
9
PORTVERSION=	1.2.27
9
PORTVERSION=	1.2.27
10
PKGNAMESUFFIX=	12
10
PKGNAMESUFFIX=	12
11
PORTREVISION=	1
11
PORTREVISION=	2
12
CATEGORIES=	net
12
CATEGORIES=	net
13
MASTER_SITES=	http://ftp.digium.com/pub/asterisk/ \
13
MASTER_SITES=	http://ftp.digium.com/pub/asterisk/ \
14
		http://ftp.digium.com/pub/asterisk/old-releases/
14
		http://ftp.digium.com/pub/asterisk/old-releases/
(-)devel/gaul/Makefile (-6 / +7 lines)
Lines 8-25 Link Here
8
8
9
PORTNAME=	gaul
9
PORTNAME=	gaul
10
PORTVERSION=	0.1849.0
10
PORTVERSION=	0.1849.0
11
PORTREVISION=	1
11
PORTREVISION=	2
12
CATEGORIES=	devel
12
CATEGORIES=	devel
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITES=	SF
14
MASTER_SITE_SUBDIR=	${PORTNAME}
15
DISTNAME=	${PORTNAME}-devel-${PORTVERSION:R}-${PORTVERSION:E}
14
DISTNAME=	${PORTNAME}-devel-${PORTVERSION:R}-${PORTVERSION:E}
16
15
17
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	pgollucci@FreeBSD.org
18
COMMENT=	Genetic Algorithm Utility Library
17
COMMENT=	Genetic Algorithm Utility Library
19
18
20
LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
19
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
21
20
22
USE_AUTOTOOLS=	libtool:15
21
USE_AUTOTOOLS=	automake:19 libtool:15
23
USE_BZIP2=	yes
22
USE_BZIP2=	yes
24
USE_GMAKE=	yes
23
USE_GMAKE=	yes
25
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
Lines 31-34 Link Here
31
post-patch:
30
post-patch:
32
	@${REINPLACE_CMD} -e 's|-lpthread||g' ${WRKSRC}/configure
31
	@${REINPLACE_CMD} -e 's|-lpthread||g' ${WRKSRC}/configure
33
32
33
run-autotools::
34
	(cd ${WRKSRC} ; ${ACLOCAL} ; ${AUTOMAKE})
34
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)devel/gaul/files/patch-tests__test_slang.c (+39 lines)
Added Link Here
1
--- ./tests/test_slang.c.orig	2008-08-08 07:38:40.000000000 +0000
2
+++ ./tests/test_slang.c	2008-08-08 07:41:52.000000000 +0000
3
@@ -288,9 +288,9 @@
4
   if (-1 == SLang_load_file(script_fname))
5
     {
6
     dief("Error %d interpreting the S-Lang script \"%s\".",
7
-         SLang_Error, script_fname);
8
+         SLang_get_error(), script_fname);
9
     SLang_restart(1);	/* reset interpreter. */
10
-    SLang_Error = 0;
11
+    SLang_set_error(0);
12
     return FALSE;
13
     }
14
 
15
@@ -315,9 +315,9 @@
16
  */
17
   if (-1 == SLang_load_file(NULL))
18
     {
19
-    dief("Error %d interpreting the SLang script from stdin.", SLang_Error);
20
+    dief("Error %d interpreting the SLang script from stdin.", SLang_get_error());
21
     SLang_restart(1);
22
-    SLang_Error = 0;
23
+    SLang_set_error(0);
24
     return FALSE;
25
     }
26
 
27
@@ -334,10 +334,10 @@
28
     printf("STDIN line %d\n", linecount);
29
     if (-1 == SLang_load_string(buffer))
30
       {
31
-      printf("SLang_Error = %d\n", SLang_Error);
32
+      printf("SLang_Error = %d\n", SLang_get_error());
33
       SLang_restart (1);
34
       }
35
-    SLang_Error = 0;
36
+    SLang_set_error(0);
37
     linecount++;
38
     }
39
 #endif
(-)editors/jed/Makefile (-9 / +4 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	jed
8
PORTNAME=	jed
9
PORTVERSION=	0.99.18
9
PORTVERSION=	0.99.18
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	editors
11
CATEGORIES=	editors
12
MASTER_SITES=	ftp://space.mit.edu/pub/davis/jed/v${PORTVERSION:R}/ \
12
MASTER_SITES=	ftp://space.mit.edu/pub/davis/jed/v${PORTVERSION:R}/ \
13
		ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/jed/v${PORTVERSION:R}/ \
13
		ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/jed/v${PORTVERSION:R}/ \
Lines 19-28 Link Here
19
MAINTAINER=	garga@FreeBSD.org
19
MAINTAINER=	garga@FreeBSD.org
20
COMMENT=	A SLang-based text editor
20
COMMENT=	A SLang-based text editor
21
21
22
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
23
22
CONFLICTS=	jed-devel-[0-9]*
24
CONFLICTS=	jed-devel-[0-9]*
23
25
24
OPTIONS=	X11 "Build xjed (depends of X11)" on \
26
OPTIONS=	X11 "Build xjed (depends of X11)" on
25
		SLANG2 "Build using libslang-2.x" off
26
27
27
USE_BZIP2=	yes
28
USE_BZIP2=	yes
28
DIST_SUBDIR=	jed
29
DIST_SUBDIR=	jed
Lines 44-55 Link Here
44
45
45
.include <bsd.port.pre.mk>
46
.include <bsd.port.pre.mk>
46
47
47
.if defined(WITH_SLANG2)
48
LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
49
.else
50
LIB_DEPENDS+=	slang.1:${PORTSDIR}/devel/libslang
51
.endif
52
53
.if defined(WITHOUT_X11)
48
.if defined(WITHOUT_X11)
54
PLIST_SUB+=	XJED="@comment "
49
PLIST_SUB+=	XJED="@comment "
55
.else
50
.else
(-)devel/newt/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	newt
8
PORTNAME=	newt
9
PORTVERSION=	0.51.0
9
PORTVERSION=	0.51.0
10
PORTREVISION=	7
10
PORTREVISION=	8
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	${MASTER_SITE_LOCAL} \
12
MASTER_SITES=	${MASTER_SITE_LOCAL} \
13
		# ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/
13
		# ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/
Lines 17-23 Link Here
17
MAINTAINER=	pgollucci@FreeBSD.org
17
MAINTAINER=	pgollucci@FreeBSD.org
18
COMMENT=	Not Erik's Windowing Toolkit:  console I/O handling library#'
18
COMMENT=	Not Erik's Windowing Toolkit:  console I/O handling library#'
19
19
20
LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang \
20
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2 \
21
		popt.0:${PORTSDIR}/devel/popt
21
		popt.0:${PORTSDIR}/devel/popt
22
22
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
(-)games/netspades/Makefile (-2 / +2 lines)
Lines 7-20 Link Here
7
7
8
PORTNAME=	NetSpades
8
PORTNAME=	NetSpades
9
PORTVERSION=	4.2.0
9
PORTVERSION=	4.2.0
10
PORTREVISION=	4
10
PORTREVISION=	5
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://www.ece.rice.edu/~brentmh/spades/
12
MASTER_SITES=	http://www.ece.rice.edu/~brentmh/spades/
13
13
14
MAINTAINER=	laszlof@FreeBSD.org
14
MAINTAINER=	laszlof@FreeBSD.org
15
COMMENT=	Very popular card game for 1-4 players over a network
15
COMMENT=	Very popular card game for 1-4 players over a network
16
16
17
LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
17
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
18
18
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_GNOME=	gtk12
20
USE_GNOME=	gtk12
(-)net/asterisk-addons/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	asterisk-addons
8
PORTNAME=	asterisk-addons
9
PORTVERSION=	1.4.6
9
PORTVERSION=	1.4.6
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	http://ftp.digium.com/pub/asterisk/releases/
12
MASTER_SITES=	http://ftp.digium.com/pub/asterisk/releases/
13
13
(-)sysutils/slmon/Makefile (-5 / +4 lines)
Lines 8-23 Link Here
8
8
9
PORTNAME=	slmon
9
PORTNAME=	slmon
10
PORTVERSION=	0.5.13
10
PORTVERSION=	0.5.13
11
PORTREVISION=	4
11
PORTREVISION=	5
12
CATEGORIES=	sysutils
12
CATEGORIES=	sysutils
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITES=	SF
14
MASTER_SITE_SUBDIR=	${PORTNAME}
15
14
16
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	pgollucci@FreeBSD.org
17
COMMENT=	S-Lang System Monitor
16
COMMENT=	S-Lang System Monitor
18
17
19
LIB_DEPENDS=	gtop-2.0.7:${PORTSDIR}/devel/libgtop \
18
LIB_DEPENDS=	gtop-2.0.7:${PORTSDIR}/devel/libgtop \
20
		slang.1:${PORTSDIR}/devel/libslang
19
		slang.2:${PORTSDIR}/devel/libslang2
21
20
22
USE_GMAKE=	yes
21
USE_GMAKE=	yes
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
(-)net/asterisk/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	asterisk
8
PORTNAME=	asterisk
9
PORTVERSION=	1.4.20.1
9
PORTVERSION=	1.4.20.1
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	http://ftp.digium.com/pub/asterisk/ \
12
MASTER_SITES=	http://ftp.digium.com/pub/asterisk/ \
13
		http://ftp.digium.com/pub/asterisk/old-releases/
13
		http://ftp.digium.com/pub/asterisk/old-releases/
(-)devel/ruby-slang/Makefile (-5 / +2 lines)
Lines 7-26 Link Here
7
7
8
PORTNAME=	slang
8
PORTNAME=	slang
9
PORTVERSION=	0.52
9
PORTVERSION=	0.52
10
PORTREVISION=	2
10
CATEGORIES+=	devel ruby
11
CATEGORIES+=	devel ruby
11
MASTER_SITES=	${MASTER_SITE_LOCAL}
12
MASTER_SITES=	${MASTER_SITE_LOCAL}
12
MASTER_SITE_SUBDIR=	fenner/ruby-contrib
13
MASTER_SITE_SUBDIR=	fenner/ruby-contrib
13
DISTNAME=	${PORTNAME}lib-${PORTVERSION:}-1m
14
DISTNAME=	${PORTNAME}lib-${PORTVERSION:}-1m
14
DIST_SUBDIR=	ruby
15
DIST_SUBDIR=	ruby
15
16
16
MAINTAINER?=	ports@FreeBSD.org
17
MAINTAINER?=	pgollucci@FreeBSD.org
17
COMMENT?=	S-Lang extension module for Ruby
18
COMMENT?=	S-Lang extension module for Ruby
18
19
19
.if defined(WITH_JAPANESE)
20
LIB_DEPENDS=	slang.2:${PORTSDIR}/japanese/libslang
20
LIB_DEPENDS=	slang.2:${PORTSDIR}/japanese/libslang
21
.else
22
LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
23
.endif
24
21
25
USE_RUBY=	yes
22
USE_RUBY=	yes
26
USE_RUBY_EXTCONF=	yes
23
USE_RUBY_EXTCONF=	yes
(-)irc/slirc/Makefile (-3 / +3 lines)
Lines 7-19 Link Here
7
7
8
PORTNAME=	slirc
8
PORTNAME=	slirc
9
PORTVERSION=	0.12
9
PORTVERSION=	0.12
10
PORTREVISION=	1
10
PORTREVISION=	2
11
# Assign with += for slave ports
11
# Assign with += for slave ports
12
CATEGORIES+=	irc
12
CATEGORIES+=	irc
13
MASTER_SITES=	http://members.core.com/~stabro/
13
MASTER_SITES=	http://members.core.com/~stabro/
14
EXTRACT_SUFX=	.tgz
14
EXTRACT_SUFX=	.tgz
15
15
16
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	pgollucci@FreeBSD.org
17
COMMENT=	A SLang-based IRC client
17
COMMENT=	A SLang-based IRC client
18
18
19
LIB_DEPENDS=	${LIB_DEPENDS_LIBSLANG}
19
LIB_DEPENDS=	${LIB_DEPENDS_LIBSLANG}
Lines 24-30 Link Here
24
24
25
SLANG_INCDIR?=	${PREFIX}/include
25
SLANG_INCDIR?=	${PREFIX}/include
26
SLANG_LIBDIR?=	${PREFIX}/lib
26
SLANG_LIBDIR?=	${PREFIX}/lib
27
LIB_DEPENDS_LIBSLANG?=	slang.1:${PORTSDIR}/devel/libslang
27
LIB_DEPENDS_LIBSLANG?=	slang.2:${PORTSDIR}/devel/libslang2
28
28
29
MAKE_ARGS=	SLANG_INCDIR="${SLANG_INCDIR}" \
29
MAKE_ARGS=	SLANG_INCDIR="${SLANG_INCDIR}" \
30
		SLANG_LIBDIR="${SLANG_LIBDIR}" \
30
		SLANG_LIBDIR="${SLANG_LIBDIR}" \
(-)irc/slirc/files/patch-slirc.c (-2 / +91 lines)
Lines 1-5 Link Here
1
--- slirc.c.orig	Tue Aug 24 00:15:11 1999
1
--- ./slirc.c.orig	1999-08-23 15:15:11.000000000 +0000
2
+++ slirc.c	Sun Jan  7 03:17:46 2001
2
+++ ./slirc.c	2008-08-11 22:25:20.246320000 +0000
3
@@ -81,7 +81,7 @@
4
    char buf[130];
5
    
6
    sprintf(buf, "Caught sig %d (%s)", signum, Top2);
7
-   SLang_doerror(buf);
8
+   SLang_verror(signum, buf);
9
    if (VF_reset) SLexecute_function(VF_reset);
10
    exit(1);
11
 }
3
@@ -242,7 +242,7 @@
12
@@ -242,7 +242,7 @@
4
 {
13
 {
5
    char secs[8];
14
    char secs[8];
Lines 28-30 Link Here
28
 	 strcat(SLirc_Load_Path,SCRIPTPATH); /* SCRIPTPATH defined in Makefile */
37
 	 strcat(SLirc_Load_Path,SCRIPTPATH); /* SCRIPTPATH defined in Makefile */
29
 }
38
 }
30
 
39
 
40
@@ -758,7 +760,7 @@
41
 	SLsmg_reset_smg();
42
 	SLang_reset_tty();
43
   if (VF_reset) SLexecute_function(VF_reset);
44
-	SLang_doerror(st);
45
+	SLang_verror(SL_INTRINSIC_ERROR, st);
46
 	puts(st);
47
 	exit(1);
48
 }
49
@@ -774,8 +776,8 @@
50
 
51
 static void ClearSomeErrors(void)
52
 {
53
-	if (SLang_Error && SLang_Error != USER_BREAK) {
54
-		SLang_Error = 0;
55
+	if (USER_BREAK != SLang_get_error()) {
56
+		SLang_set_error(0);
57
 		SLsmg_touch_lines(0, SLtt_Screen_Rows);
58
 		SLirc_UpdateDisplay();
59
 		SLang_input_pending(20);
60
@@ -1016,7 +1018,7 @@
61
 	SLtt_get_terminfo();					/* Get the terminal info. */
62
 	SLtt_Use_Ansi_Colors = 1;
63
 	if (-1 == SLkp_init()) {
64
-		SLang_doerror("SLkp_init failed.");
65
+		SLang_verror(SL_INTRINSIC_ERROR, "SLkp_init failed.");
66
 		exit(1);
67
 	}
68
 
69
@@ -1026,7 +1028,7 @@
70
 	 *   (actually, opost's ignored in slang-1.0.3 )
71
 	 */
72
 	if (-1 == SLang_init_tty(abort_char, 0, 0)) {
73
-		SLang_doerror("Unable to initialize the terminal.");
74
+		SLang_verror(SL_INTRINSIC_ERROR, "Unable to initialize the terminal.");
75
 		exit(1);
76
 	}
77
 	SLsmg_init_smg(); /* this does get_screen_size inside. */
78
@@ -1073,9 +1075,9 @@
79
 	SetStatus("Loading SLirc init script...");
80
 	SLirc_UpdateDisplay();
81
 	SLang_load_file(argv[1] ? argv[1] : "init.sl");
82
-	if (SLang_Error) {
83
-		SLang_doerror("Oh, shit. Who fucked up that file, then?");
84
-		SLang_Error = 0;
85
+	if (SLang_get_error()) {
86
+		SLang_verror(SL_INTRINSIC_ERROR, "Oh, shit. Who fucked up that file, then?");
87
+		SLang_set_error(0);
88
 	}
89
 	SLtt_Use_Ansi_Colors = UseColours;
90
 	SLirc_UpdateDisplay();
91
@@ -1087,7 +1089,7 @@
92
 	check_timed = SLang_get_function("check_timed");
93
 	if (!check_timed) Fatal("check_timed is undefined");
94
 	expiry = time(NULL)+5;
95
-	while (SLang_Error != USER_BREAK) {
96
+	while (USER_BREAK != SLang_get_error()) {
97
 		int r,stkdep;
98
 		unsigned int tim;
99
 		
100
@@ -1106,7 +1108,7 @@
101
 		tim = time(NULL);
102
 		if (tim<expiry) continue;
103
 		expiry += 5;
104
-		stkdep = _SLstack_depth();
105
+		stkdep = SLstack_depth();
106
 		r = SLexecute_function(check_timed);
107
 		if (r==-1) Fatal("SLexecute_function(check_timed)?");
108
 #		if 0
109
@@ -1114,8 +1116,8 @@
110
 		if (!r) Fatal("check_timed is undefined");
111
 #		endif
112
 		SLirc_UpdateDisplay();
113
-		stkdep = _SLstack_depth() - stkdep; /* % items left on stack. */
114
-		if (stkdep && SLang_Error != USER_BREAK) {
115
+		stkdep = SLstack_depth() - stkdep; /* % items left on stack. */
116
+		if (stkdep && USER_BREAK != SLang_get_error()) {
117
 			SLang_verror(SL_APPLICATION_ERROR,
118
 		  	"Eeek... check_timed() left %d units on stack",stkdep);
119
 			if (stkdep>0) SLdo_pop_n(stkdep);
(-)irc/slirc/files/patch-slload.c (+11 lines)
Added Link Here
1
--- ./slload.c.orig	2008-08-11 21:29:52.000000000 +0000
2
+++ ./slload.c	2008-08-11 21:30:13.000000000 +0000
3
@@ -84,7 +84,7 @@
4
 	SLang_free_slstring(name);
5
 	SLdeallocate_load_type(x);
6
 
7
-	if (SLang_Error) return -1;
8
+	if (SLang_get_error()) return -1;
9
 
10
 	return 0;
11
 }
(-)irc/slirc/files/patch-vfile-module.c (-5 / +178 lines)
Lines 1-5 Link Here
1
--- vfile-module.c.orig	Tue Aug 24 00:08:56 1999
1
--- ./vfile-module.c.orig	2008-08-11 21:49:04.000000000 +0000
2
+++ vfile-module.c	Sat Jan  6 20:25:43 2001
2
+++ ./vfile-module.c	2008-08-11 22:25:20.246320000 +0000
3
@@ -2067 +2067 @@
3
@@ -97,13 +97,13 @@
4
-	MAKE_ICONSTANT("O_SYNC", O_SYNC),
4
 	int ct;
5
+	MAKE_ICONSTANT("O_FSYNC", O_FSYNC),
5
 
6
 	if (at->data_type != SLANG_CHAR_TYPE) {
7
-		SLang_doerror("Operation requires character array");
8
+		SLang_verror(SL_INTRINSIC_ERROR, "Operation requires character array");
9
 		return -1;
10
 	}
11
 
12
 	if (len<0) ct = at->num_elements;
13
 	else if (len > at->num_elements) {
14
-		SLang_doerror("Too much data for array size");
15
+		SLang_verror(SL_INTRINSIC_ERROR, "Too much data for array size");
16
 		return -1;
17
 	}else ct = len;
18
 	*data = at->data;
19
@@ -446,11 +446,11 @@
20
 
21
 	VFerrno = 0;
22
 	if (t->fd < 0) {
23
-		/* SLang_doerror("file already closed"); */
24
+		/* SLang_verror(SL_INTRINSIC_ERROR,"file already closed"); */
25
 		r = 0; goto return_r;
26
 	}
27
 	if (t->rdvf || t->wrvf) {
28
-		SLang_doerror("You must set_wrdep(*,*,0) before close");
29
+		SLang_verror(SL_INTRINSIC_ERROR, "You must set_wrdep(*,*,0) before close");
30
 		goto return_r;
31
 	}
32
 	r = close(t->fd);
33
@@ -1171,7 +1171,7 @@
34
 
35
 	l = t->rbuft - t->rbufr;
36
 	if (l <= 0) { /* shouldn't happen */
37
-		SLang_doerror("read_into_buf() called with window=0");
38
+		SLang_verror(SL_INTRINSIC_ERROR,"read_into_buf() called with window=0");
39
 		return -1;
40
 	}
41
 	if (t->fd < 0 || t->flags & SJ_EOF) return 0; /* also shouldn't happen */
42
@@ -1209,7 +1209,7 @@
43
 
44
 	if (!l || t->rtermn < 0 || !(m = t->rbufr - t->rbufq)) goto dflt_ret;
45
 	if (t->rbufq < t->rbufp) {
46
-		SLang_doerror("q<p");
47
+		SLang_verror(SL_INTRINSIC_ERROR, "q<p");
48
 		t->rbufq = t->rbufp;
49
 	}
50
 	if ( (cp = (char*)memchr(t->rbufq,t->rtermn,m))
51
@@ -1259,7 +1259,7 @@
52
 
53
 /*fprintf(stderr,"fd=%d, rthrsh=%d, bytes=%d\n",t->fd,t->rthrsh,t->rbufr-t->rbufp); */
54
 	if (t->fd < 0) {
55
-		SLang_doerror("Read on closed VFile");
56
+		SLang_verror(SL_INTRINSIC_ERROR, "Read on closed VFile");
57
 		goto return_r;
58
 	}
59
 
60
@@ -1364,7 +1364,7 @@
61
 	
62
 	if (!(mmt = pop_vfd(SJ_WRITE, &t))) goto free_fail; /* ct = -1 */
63
 	if (t->fd < 0) {
64
-		SLang_doerror("Write on closed VFile");
65
+		SLang_verror(SL_INTRINSIC_ERROR, "Write on closed VFile");
66
 		goto free_fail;
67
 	}
68
 
69
@@ -1420,7 +1420,7 @@
70
 	if (!(wr_mmt = pop_vfd(SJ_WRITE, &wt))) goto free1;
71
 
72
 	if (wt != rt->wrvf || rt != wt->rdvf) {
73
-		SLang_doerror("copybytes filepair not linked by set_wrdep()");
74
+		SLang_verror(SL_INTRINSIC_ERROR, "copybytes filepair not linked by set_wrdep()");
75
 		goto free2;
76
 	}
77
 
78
@@ -1469,7 +1469,7 @@
79
 	if (!(mmt = pop_vfd(SJ_READ, &t))) return -1; /* ct = -1 */
80
 
81
 	if (t->fd < 0) {
82
-		SLang_doerror("Read on closed VFile");
83
+		SLang_verror(SL_INTRINSIC_ERROR,"Read on closed VFile");
84
 		r = -1; goto return_r;
85
 	}
86
 	r = check_buf_data(t);
87
@@ -1672,7 +1672,7 @@
88
 		fnt = SLang_get_function(func_name);
89
 		if (!fnt) {r = -2; goto return_r;}
90
 		if (t->fd < 0) {
91
-			SLang_doerror("Can't set_action() on closed VFile");
92
+			SLang_verror(SL_INTRINSIC_ERROR,"Can't set_action() on closed VFile");
93
 			r = -3; goto return_r;
94
 		}
95
 	}
96
@@ -1720,7 +1720,7 @@
97
 		) return -1;
98
 
99
 	if (t->flags & SJ_UDP) {
100
-		SLang_doerror("only default (unbuffered) rmode makes sense for UDP");
101
+		SLang_verror(SL_INTRINSIC_ERROR,"only default (unbuffered) rmode makes sense for UDP");
102
 		r = -1; goto return_r;
103
 	}
104
 
105
@@ -1729,7 +1729,7 @@
106
 	if (!ct) {
107
 		if (t->rthrsh) { /* changing from buffered to unbuffered */
108
 			if (t->rbufr > t->rbufp) {
109
-				SLang_doerror("must read data before switching to unbuffered mode");
110
+				SLang_verror(SL_INTRINSIC_ERROR,"must read data before switching to unbuffered mode");
111
 				r = -1; goto return_r;
112
 			}
113
 			SLfree(t->rbuf0);
114
@@ -1737,7 +1737,7 @@
115
 			vfile_list_dirty = 1; /* just t */
116
 		}
117
 		if (ch>=0) {
118
-			SLang_doerror("termination char ignored in unbuffered mode");
119
+			SLang_verror(SL_INTRINSIC_ERROR,"termination char ignored in unbuffered mode");
120
 			ch = -1;
121
 		}
122
 	}
123
@@ -1802,12 +1802,12 @@
124
 	stkdep = _SLstack_depth() - stkdep; /* % items left on stack. */
125
 	/* for some reason, this next seems to cause segfault when */
126
 	/* used from ./vf and do_actions() is called in SLang ?!   */
127
-	if (stkdep && SLang_Error != USER_BREAK) {
128
+	if (stkdep && USER_BREAK != SLang_get_error()) {
129
 		SLang_verror(SL_APPLICATION_ERROR,
130
 		  "Eeek... %s() left %d units on stack",t->fns[i]->name,stkdep);
131
 		if (stkdep>0) {
132
 			SLdo_pop_n(stkdep);
133
-			SLang_Error = 0;  /* probably safe to keep going */
134
+			SLang_set_error(0);  /* probably safe to keep going */
135
 		}
136
 	}
137
 
138
@@ -1840,7 +1840,7 @@
139
 			ct++;
140
 			do_action_i(t,0);
141
 			if (t->fd >= 0 && t->fns[0] && rbufp == t->rbufp && check_buf_data(t) >= 0) {
142
-				SLang_doerror("read-action did not handle data");
143
+				SLang_verror(SL_INTRINSIC_ERROR,"read-action did not handle data");
144
 				t->fns[0] = NULL; /* this to radically kill it */
145
 			}
146
 		}while (!vfile_list_dirty && t != tn);
147
@@ -1868,7 +1868,7 @@
148
 	static fd_set fds[3];  /* a big one, we could malloc */
149
 
150
 	if (do_actions_dep++) { /* we are NOT recursive! */
151
-		SLang_doerror("Can't call do_actions() recursively");
152
+		SLang_verror(SL_INTRINSIC_ERROR,"Can't call do_actions() recursively");
153
 		goto return_ct;
154
 	}
155
 	/*tim = (int)time(NULL); */
156
@@ -2133,8 +2133,8 @@
157
 {
158
 	SLang_Class_Type *cl;
159
 
160
-	if (SLclass_add_typecast(SLANG_CHAR_TYPE, SLANG_INT_TYPE, char_to_int, 1)
161
-	 || SLclass_add_typecast(SLANG_INT_TYPE, SLANG_CHAR_TYPE, int_to_char, 1))
162
+        if (SLclass_add_typecast(SLANG_CHAR_TYPE, SLANG_INT_TYPE, char_to_int, 1)
163
+         || SLclass_add_typecast(SLANG_INT_TYPE, SLANG_CHAR_TYPE, int_to_char, 1))
164
 	{
165
 		fprintf(stderr,"VFile: fail add_typecast(CHAR<->INT)\n");
166
 		return -1;
167
@@ -2151,8 +2151,9 @@
168
 
169
 	if (NULL == (cl = SLclass_allocate_class("VFile_Type")))
170
 		return -1;
171
-	cl->cl_destroy = destroy_vfile_type;
172
-	cl->cl_string = vfile_string;
173
+	SLclass_set_destroy_function(cl, destroy_vfile_type);
174
+	SLclass_set_string_function(cl, vfile_string);
175
+
176
 	if (-1 == SLclass_register_class(cl, SJ_VFILE_TYPE, sizeof(VFILE), SLANG_CLASS_TYPE_MMT)) 
177
 		return -1;
178
 
(-)net/asterisk-app-notify/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	app_notify
8
PORTNAME=	app_notify
9
DISTVERSION=	2.0rc1
9
DISTVERSION=	2.0rc1
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	http://www.mezzo.net/asterisk/ \
12
MASTER_SITES=	http://www.mezzo.net/asterisk/ \
13
		http://static.oyam.ca/freebsd/ports/
13
		http://static.oyam.ca/freebsd/ports/
(-)graphics/libcaca/Makefile (-10 / +4 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	libcaca
8
PORTNAME=	libcaca
9
DISTVERSION=	0.99.beta13
9
DISTVERSION=	0.99.beta13
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	graphics
11
CATEGORIES=	graphics
12
MASTER_SITES=	http://libcaca.zoy.org/files/
12
MASTER_SITES=	http://libcaca.zoy.org/files/
13
13
Lines 22-28 Link Here
22
		--disable-csharp \
22
		--disable-csharp \
23
		--disable-ruby
23
		--disable-ruby
24
24
25
DOCS=		AUTHORS COPYING COPYING.GPL COPYING.LGPL ChangeLog NEWS \
25
PORTSDOC=		AUTHORS COPYING COPYING.GPL COPYING.LGPL ChangeLog NEWS \
26
		NOTES README THANKS TODO
26
		NOTES README THANKS TODO
27
MAN1=		caca-config.1 cacafire.1 cacaplay.1 cacaserver.1 cacaview.1 \
27
MAN1=		caca-config.1 cacafire.1 cacaplay.1 cacaserver.1 cacaview.1 \
28
		img2txt.1
28
		img2txt.1
Lines 39-52 Link Here
39
USE_EFL+=	imlib2
39
USE_EFL+=	imlib2
40
.endif
40
.endif
41
41
42
.include <bsd.port.pre.mk>
43
44
.if defined(WITH_SLANG)
42
.if defined(WITH_SLANG)
45
.  if exists(${LOCALBASE}/lib/libslang.so.1)
46
LIB_DEPENDS+=	slang.1:${PORTSDIR}/devel/libslang
47
.  else
48
LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
43
LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
49
.  endif
50
CONFIGURE_ARGS+=--enable-slang
44
CONFIGURE_ARGS+=--enable-slang
51
.else
45
.else
52
CONFIGURE_ARGS+=--disable-slang
46
CONFIGURE_ARGS+=--disable-slang
Lines 61-69 Link Here
61
.ifndef (NOPORTDOCS)
55
.ifndef (NOPORTDOCS)
62
post-install:
56
post-install:
63
	@${MKDIR} ${DOCSDIR}
57
	@${MKDIR} ${DOCSDIR}
64
.for i in ${DOCS}
58
.for i in ${PORTDOCS}
65
	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
59
	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
66
.endfor
60
.endfor
67
.endif
61
.endif
68
62
69
.include <bsd.port.post.mk>
63
.include <bsd.port.mk>
(-)graphics/libcaca/pkg-plist (-11 lines)
Lines 28-43 Link Here
28
lib/libcucul.so.0
28
lib/libcucul.so.0
29
libdata/pkgconfig/caca.pc
29
libdata/pkgconfig/caca.pc
30
libdata/pkgconfig/cucul.pc
30
libdata/pkgconfig/cucul.pc
31
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
32
%%PORTDOCS%%%%DOCSDIR%%/COPYING
33
%%PORTDOCS%%%%DOCSDIR%%/COPYING.GPL
34
%%PORTDOCS%%%%DOCSDIR%%/COPYING.LGPL
35
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
36
%%PORTDOCS%%%%DOCSDIR%%/NEWS
37
%%PORTDOCS%%%%DOCSDIR%%/NOTES
38
%%PORTDOCS%%%%DOCSDIR%%/README
39
%%PORTDOCS%%%%DOCSDIR%%/THANKS
40
%%PORTDOCS%%%%DOCSDIR%%/TODO
41
%%DATADIR%%/caca.txt
31
%%DATADIR%%/caca.txt
42
@dirrm %%DATADIR%%
32
@dirrm %%DATADIR%%
43
%%PORTDOCS%%@dirrm %%DOCSDIR%%
(-)mail/mutt/Makefile (-2 / +2 lines)
Lines 8-14 Link Here
8
8
9
PORTNAME=	mutt
9
PORTNAME=	mutt
10
PORTVERSION=	1.4.2.3
10
PORTVERSION=	1.4.2.3
11
PORTREVISION=	3
11
PORTREVISION=	4
12
CATEGORIES+=	mail ipv6
12
CATEGORIES+=	mail ipv6
13
MASTER_SITES=	ftp://ftp.mutt.org/mutt/ \
13
MASTER_SITES=	ftp://ftp.mutt.org/mutt/ \
14
		ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \
14
		ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \
Lines 60-66 Link Here
60
.endif
60
.endif
61
61
62
.if defined(WITH_SLANG)
62
.if defined(WITH_SLANG)
63
LIB_DEPENDS+=	slang.1:${PORTSDIR}/devel/libslang
63
LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
64
.elif defined(WITH_NCURSES_PORT)
64
.elif defined(WITH_NCURSES_PORT)
65
LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
65
LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
66
.endif
66
.endif
(-)mail/mutt-devel/Makefile (-10 / +3 lines)
Lines 23-30 Link Here
23
# and SLANG (WITH_MUTT_SLANG). Note that you may have to set the variables
23
# and SLANG (WITH_MUTT_SLANG). Note that you may have to set the variables
24
# COLORTERM=yes and COLORFGBG="color1;color2" in your environment to get slang
24
# COLORTERM=yes and COLORFGBG="color1;color2" in your environment to get slang
25
# function properly.
25
# function properly.
26
# The default version for slang is 1.x. Define WITH_MUTT_SLANG2 if you want
26
# The slang version is 2.x. 
27
# to use the slang version 2.x
28
# The default version for ncurses is that which comes with the operating
27
# The default version for ncurses is that which comes with the operating
29
# system. If you want to use the ncurses supplied by the ports-system define
28
# system. If you want to use the ncurses supplied by the ports-system define
30
# WITH_MUTT_NCURSES_PORT.
29
# WITH_MUTT_NCURSES_PORT.
Lines 113-119 Link Here
113
112
114
PORTNAME=	mutt-devel
113
PORTNAME=	mutt-devel
115
PORTVERSION=	1.5.18
114
PORTVERSION=	1.5.18
116
PORTREVISION?=	1
115
PORTREVISION?=	2
117
CATEGORIES+=	mail ipv6
116
CATEGORIES+=	mail ipv6
118
.if defined(WITH_MUTT_NNTP)
117
.if defined(WITH_MUTT_NNTP)
119
CATEGORIES+=	news
118
CATEGORIES+=	news
Lines 261-270 Link Here
261
.if defined(WITH_MUTT_NCURSES_PORT)
260
.if defined(WITH_MUTT_NCURSES_PORT)
262
WITH_MUTT_NCURSES=	yes
261
WITH_MUTT_NCURSES=	yes
263
.endif
262
.endif
264
.if defined(WITH_MUTT_SLANG) || defined(WITH_SLANG)
265
MUTT_USES_SLANG=	yes
266
MUTT_USES_SLANG1=	yes
267
.endif
268
.if defined(WITH_MUTT_SLANG2)
263
.if defined(WITH_MUTT_SLANG2)
269
MUTT_USES_SLANG=	yes
264
MUTT_USES_SLANG=	yes
270
MUTT_USES_SLANG2=	yes
265
MUTT_USES_SLANG2=	yes
Lines 275-281 Link Here
275
.if !defined(MUTT_USES_SLANG) && !defined(WITHOUT_MUTT_SLANG) && !defined(MUTT_USES_NCURSES)
270
.if !defined(MUTT_USES_SLANG) && !defined(WITHOUT_MUTT_SLANG) && !defined(MUTT_USES_NCURSES)
276
.if defined(SLANG_IS_DEFAULT)
271
.if defined(SLANG_IS_DEFAULT)
277
MUTT_USES_SLANG=	yes
272
MUTT_USES_SLANG=	yes
278
MUTT_USES_SLANG1=	yes
273
MUTT_USES_SLANG2=	yes
279
.elif defined(NCURSES_IS_DEFAULT)
274
.elif defined(NCURSES_IS_DEFAULT)
280
MUTT_USES_NCURSES=	yes
275
MUTT_USES_NCURSES=	yes
281
.endif
276
.endif
Lines 306-313 Link Here
306
.if defined(MUTT_USES_NCURSES_PORT)
301
.if defined(MUTT_USES_NCURSES_PORT)
307
LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
302
LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
308
CFLAGS+=	-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include
303
CFLAGS+=	-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include
309
.elif defined(MUTT_USES_SLANG1)
310
LIB_DEPENDS+=	slang.1:${PORTSDIR}/devel/libslang
311
.elif defined(MUTT_USES_SLANG2)
304
.elif defined(MUTT_USES_SLANG2)
312
LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
305
LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
313
.endif
306
.endif
(-)misc/iselect/Makefile (-2 / +3 lines)
Lines 7-17 Link Here
7
7
8
PORTNAME=	iselect
8
PORTNAME=	iselect
9
PORTVERSION=	1.4.0
9
PORTVERSION=	1.4.0
10
PORTREVISION=	1
10
CATEGORIES=	misc
11
CATEGORIES=	misc
11
MASTER_SITES=	${MASTER_SITE_OSSP}
12
MASTER_SITES=	${MASTER_SITE_OSSP}
12
MASTER_SITE_SUBDIR=	tool/iselect
13
MASTER_SITE_SUBDIR=	tool/iselect
13
14
14
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	pgollucci@FreeBSD.org
15
COMMENT=	Interactive Selection Tool
16
COMMENT=	Interactive Selection Tool
16
17
17
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
Lines 20-26 Link Here
20
MAN1=		iselect.1
21
MAN1=		iselect.1
21
22
22
.if defined(WITH_SLANG)
23
.if defined(WITH_SLANG)
23
LIB_DEPENDS+=	slang.1:${PORTSDIR}/devel/libslang
24
LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
24
CONFIGURE_ARGS+=	--with-incdir=${LOCALBASE}/include \
25
CONFIGURE_ARGS+=	--with-incdir=${LOCALBASE}/include \
25
			--with-libdir=${LOCALBASE}/lib
26
			--with-libdir=${LOCALBASE}/lib
26
.endif
27
.endif
(-)net/tn5250/Makefile (-5 / +4 lines)
Lines 9-18 Link Here
9
PORTVERSION=	0.17.3
9
PORTVERSION=	0.17.3
10
PORTREVISION=	1
10
PORTREVISION=	1
11
CATEGORIES=	net
11
CATEGORIES=	net
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	SF
13
MASTER_SITE_SUBDIR=	${PORTNAME}
14
13
15
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	pgollucci@FreeBSD.org
16
COMMENT=	5250 Telnet protocol and Terminal
15
COMMENT=	5250 Telnet protocol and Terminal
17
16
18
USE_AUTOTOOLS=	libtool:15
17
USE_AUTOTOOLS=	libtool:15
Lines 31-38 Link Here
31
LDFLAGS=	-L${LOCALBASE}/lib
30
LDFLAGS=	-L${LOCALBASE}/lib
32
31
33
.if defined(WITH_SLANG)
32
.if defined(WITH_SLANG)
34
LIB_DEPENDS+=	slang.1:${PORTSDIR}/devel/libslang
33
LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
35
PKGNAMESUFFIX=	-slang
34
PKGNAMESUFFIX=	-slang2
36
CONFIGURE_ARGS+=	--with-slang=yes
35
CONFIGURE_ARGS+=	--with-slang=yes
37
LDFLAGS+=	-lcurses
36
LDFLAGS+=	-lcurses
38
.else
37
.else
(-)net/tn5250/files/patch-src__slangterm.c (+40 lines)
Added Link Here
1
--- ./src/slangterm.c.orig	2005-05-03 03:14:45.000000000 +0000
2
+++ ./src/slangterm.c	2008-08-11 21:17:36.000000000 +0000
3
@@ -156,16 +156,16 @@
4
 {
5
    SLtt_get_terminfo ();
6
    if (-1 == SLkp_init ()) {
7
-      SLang_doerror ("SLkp_init failed.");
8
+      SLang_verror (SL_INTRINSIC_ERROR, "SLkp_init failed.");
9
       exit (255);
10
    }
11
    if (-1 == SLang_init_tty (K_CTRL('Q'), 1, 0)) {
12
-      SLang_doerror ("SLang_init_tty failed.");
13
+      SLang_verror (SL_INTRINSIC_ERROR, "SLang_init_tty failed.");
14
       exit (255);
15
    }
16
    SLang_set_abort_signal (NULL);
17
    if (-1 == SLsmg_init_smg ()) {
18
-      SLang_doerror ("SLsmg_init_smg failed.");
19
+      SLang_verror (SL_INTRINSIC_ERROR, "SLsmg_init_smg failed.");
20
       exit (255);
21
    }
22
 
23
@@ -400,7 +400,7 @@
24
    int result = 0;
25
    int sm;
26
 
27
-   if (SLang_Error == USER_BREAK)
28
+   if (USER_BREAK == SLang_get_error())
29
       This->data->quit_flag = 1;
30
    if (This->data->quit_flag)
31
       return TN5250_TERMINAL_EVENT_QUIT;
32
@@ -499,7 +499,7 @@
33
 	 break;
34
 
35
       case SL_KEY_ERR:
36
-	 if (SLang_Error == USER_BREAK)
37
+	 if (USER_BREAK == SLang_get_error())
38
 	    This->data->quit_flag = 1;
39
 	 return -1;
40
 
(-)net/trafshow3/Makefile (-2 / +2 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	trafshow
8
PORTNAME=	trafshow
9
PORTVERSION=	3.1
9
PORTVERSION=	3.1
10
PORTREVISION=	6
10
PORTREVISION=	7
11
PORTEPOCH=	1
11
PORTEPOCH=	1
12
CATEGORIES=	net
12
CATEGORIES=	net
13
MASTER_SITES=	ftp://ftp.sasknow.com/pub/trafshow/ \
13
MASTER_SITES=	ftp://ftp.sasknow.com/pub/trafshow/ \
Lines 23-29 Link Here
23
23
24
.if defined(WITH_TRAFSHOW_SLANG) || \
24
.if defined(WITH_TRAFSHOW_SLANG) || \
25
    (exists(${LOCALBASE}/lib/libslang.a) && !defined(WITHOUT_TRAFSHOW_SLANG))
25
    (exists(${LOCALBASE}/lib/libslang.a) && !defined(WITHOUT_TRAFSHOW_SLANG))
26
LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
26
LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2
27
.endif
27
.endif
28
28
29
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes

Return to bug 125255