[Midnightbsd-cvs] mports: devel/libslang2: add libslang2

crash at midnightbsd.org crash at midnightbsd.org
Fri May 30 19:15:53 EDT 2008


Log Message:
-----------
add libslang2

Added Files:
-----------
    mports/devel/libslang2:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
--- /dev/null
+++ devel/libslang2/pkg-descr
@@ -0,0 +1,12 @@
+S-Lang is a multi-platform programmer's library designed to
+allow a developer to create robust multi-platform software.
+
+It provides facilities required by interactive applications
+such as display/screen management, keyboard input, keymaps,
+and so on.
+
+The most exciting feature of the library is the slang
+interpreter that may be easily embedded into a program to
+make it extensible. 
+
+WWW:	http://www.jedsoft.org/slang/
--- /dev/null
+++ devel/libslang2/pkg-plist
@@ -0,0 +1,96 @@
+ at comment $FreeBSD: ports/devel/libslang2/pkg-plist,v 1.13 2007/12/11 19:18:05 garga Exp $
+bin/slsh
+etc/slsh.rc
+include/slang.h
+include/slcurses.h
+lib/libslang.a
+lib/libslang.so.2.1.3
+lib/libslang.so.2
+lib/libslang.so
+lib/slang/v2/modules/fcntl-module.so
+%%PCRE%%lib/slang/v2/modules/pcre-module.so
+%%PNG%%lib/slang/v2/modules/png-module.so
+%%ICONV%%lib/slang/v2/modules/iconv-module.so
+%%ONIG%%lib/slang/v2/modules/onig-module.so
+lib/slang/v2/modules/select-module.so
+lib/slang/v2/modules/slsmg-module.so
+lib/slang/v2/modules/socket-module.so
+lib/slang/v2/modules/termios-module.so
+lib/slang/v2/modules/varray-module.so
+%%DATADIR%%/arrayfuns.sl
+%%DATADIR%%/autoload.sl
+%%DATADIR%%/cmaps/cool.map
+%%DATADIR%%/cmaps/copper.map
+%%DATADIR%%/cmaps/drywet.map
+%%DATADIR%%/cmaps/gebco.map
+%%DATADIR%%/cmaps/globe.map
+%%DATADIR%%/cmaps/gray.map
+%%DATADIR%%/cmaps/haxby.map
+%%DATADIR%%/cmaps/hot.map
+%%DATADIR%%/cmaps/jet.map
+%%DATADIR%%/cmaps/no_green.map
+%%DATADIR%%/cmaps/ocean.map
+%%DATADIR%%/cmaps/polar.map
+%%DATADIR%%/cmaps/rainbow.map
+%%DATADIR%%/cmaps/red2green.map
+%%DATADIR%%/cmaps/relief.map
+%%DATADIR%%/cmaps/sealand.map
+%%DATADIR%%/cmaps/seis.map
+%%DATADIR%%/cmaps/split.map
+%%DATADIR%%/cmaps/topo.map
+%%DATADIR%%/cmaps/wysiwyg.map
+%%DATADIR%%/cmdopt.sl
+%%DATADIR%%/fcntl.sl
+%%DATADIR%%/glob.sl
+%%DATADIR%%/help/arrayfuns.hlp
+%%DATADIR%%/help/cmdopt.hlp
+%%DATADIR%%/help/glob.hlp
+%%DATADIR%%/help/onigfuns.hlp
+%%DATADIR%%/help/pcrefuns.hlp
+%%DATADIR%%/help/pngfuns.hlp
+%%DATADIR%%/help/profile.hlp
+%%DATADIR%%/help/readascii.hlp
+%%DATADIR%%/help/require.hlp
+%%DATADIR%%/help/sockfuns.hlp
+%%DATADIR%%/help/structfuns.hlp
+%%DATADIR%%/iconv.sl
+%%DATADIR%%/onig.sl
+%%DATADIR%%/pcre.sl
+%%DATADIR%%/png.sl
+%%DATADIR%%/print.sl
+%%DATADIR%%/profile.sl
+%%DATADIR%%/readascii.sl
+%%DATADIR%%/require.sl
+%%DATADIR%%/rline/complete.sl
+%%DATADIR%%/rline/editfuns.sl
+%%DATADIR%%/rline/emacskeys.sl
+%%DATADIR%%/rline/history.sl
+%%DATADIR%%/rline/slrline.rc
+%%DATADIR%%/rline/vikeys.sl
+%%DATADIR%%/scripts/jpegsize
+%%DATADIR%%/scripts/lsrpm
+%%DATADIR%%/scripts/sldb
+%%DATADIR%%/scripts/slprof
+%%DATADIR%%/scripts/svnsh
+%%DATADIR%%/select.sl
+%%DATADIR%%/sldb.sl
+%%DATADIR%%/sldbcore.sl
+%%DATADIR%%/sldbsock.sl
+%%DATADIR%%/slshhelp.sl
+%%DATADIR%%/slshrl.sl
+%%DATADIR%%/slsmg.sl
+%%DATADIR%%/socket.sl
+%%DATADIR%%/stkcheck.sl
+%%DATADIR%%/structfuns.sl
+%%DATADIR%%/termios.sl
+%%DATADIR%%/varray.sl
+ at exec mkdir -p %D/%%DATADIR%%/local-packages
+ at dirrmtry lib/slang/v2/modules
+ at dirrmtry lib/slang/v2
+ at dirrmtry lib/slang
+ at dirrm %%DATADIR%%/cmaps
+ at dirrm %%DATADIR%%/help
+ at dirrmtry %%DATADIR%%/local-packages
+ at dirrm %%DATADIR%%/rline
+ at dirrm %%DATADIR%%/scripts
+ at dirrmtry %%DATADIR%%
--- /dev/null
+++ devel/libslang2/Makefile
@@ -0,0 +1,84 @@
+# New ports collection makefile for:	libslang2
+# Date created:		2005-05-16
+# Whom:			Renato Botelho <freebsd at galle.com.br>
+#
+# $FreeBSD: ports/devel/libslang2/Makefile,v 1.20 2008/05/19 20:14:18 garga Exp $
+# $MidnightBSD: mports/devel/libslang2/Makefile,v 1.1 2008/05/30 23:15:53 crash Exp $
+
+PORTNAME=	libslang2
+PORTVERSION=	2.1.3
+CATEGORIES=	devel
+MASTER_SITES=	ftp://space.mit.edu/pub/davis/slang/v${PORTVERSION:R}/ \
+		ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${PORTVERSION:R}/ \
+		ftp://ftp.ntua.gr/pub/lang/slang/slang/v${PORTVERSION:R}/ \
+		ftp://ftp.plig.org/pub/slang/v${PORTVERSION:R}/
+DISTNAME=	slang-${PORTVERSION}
+
+MAINTAINER=	Ports at MidnightBSD.org
+COMMENT=	Routines for rapid alpha-numeric terminal applications development
+LICENSE=        gpl2     
+USE_BZIP2=	yes
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+CONFLICTS=	libslang-[0-9]* libslang-1.*.j[0-9]
+
+ALL_TARGET=	all static
+INSTALL_TARGET=	install install-static
+
+MAN1=		slsh.1
+DOCSDIR=	${PREFIX}/share/doc/slang
+DATADIR=	${PREFIX}/share/slsh
+
+OPTIONS=	PCRE	"Include pcre support" on \
+		PNG	"Include png support"  on \
+		ICONV	"Include iconv support" on \
+		ONIG	"Include Oniguruma support" off
+
+PORTDOCS=	*
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_PCRE)
+LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre
+PLIST_SUB+=	PCRE=""
+.else
+CONFIGURE_ARGS+=	--without-pcre
+PLIST_SUB+=	PCRE="@comment "
+.endif
+
+.if !defined(WITHOUT_PNG)
+LIB_DEPENDS+=	png.5:${PORTSDIR}/graphics/png
+PLIST_SUB+=	PNG=""
+.else
+CONFIGURE_ARGS+=	--without-png
+PLIST_SUB+=	PNG="@comment "
+.endif
+
+.if !defined(WITHOUT_ICONV)
+USE_ICONV=	yes
+PLIST_SUB+=	ICONV=""
+.else
+CONFIGURE_ARGS+=	--without-iconv
+PLIST_SUB+=	ICONV="@comment "
+.endif
+
+.if defined(WITH_ONIG)
+LIB_DEPENDS+=	onig.1:${PORTSDIR}/devel/oniguruma4
+PLIST_SUB+=	ONIG=""
+.else
+CONFIGURE_ARGS+=	--without-onig
+PLIST_SUB+=	ONIG="@comment "
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -E 's,doc/slsh,doc/slang/v\@slang_major_version\@,' \
+		${WRKSRC}/slsh/Makefile.in
+.if defined(NOPORTDOCS)
+	@${REINPLACE_CMD} -e 's, install[_-]docs,,g; /MKINSDIR.*DEST_SLSH_DOC_DIR/d' \
+		${WRKSRC}/src/Makefile.in \
+		${WRKSRC}/slsh/Makefile.in
+.endif
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ devel/libslang2/distinfo
@@ -0,0 +1,3 @@
+MD5 (slang-2.1.3.tar.bz2) = 0e4ae3aac75441eaa230bceb7811f088
+SHA256 (slang-2.1.3.tar.bz2) = 534b80d31f582a00163c2abdcc0317585fa06918c96af65d008718f3b68fddfc
+SIZE (slang-2.1.3.tar.bz2) = 1191425


More information about the Midnightbsd-cvs mailing list