blob: 448dbb80d75d53d7e8488bbdff68425a9ad64e98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.4 2009/06/13 06:46:43 rillig Exp $
#
DISTNAME= slang-2.1.3
PKGREVISION= 1
PKGNAME= lib${DISTNAME:slang%=slang2%}
SVR4_PKGNAME= lslan
CATEGORIES= devel
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v2.1/ \
http://gd.tuwien.ac.at/editors/davis/slang/v2.1/ \
ftp://ftp.ntua.gr/pub/lang/slang/slang/v2.1/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.s-lang.org/
COMMENT= Routines for rapid alpha-numeric terminal applications development
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
BUILDLINK_TRANSFORM+= l:slang:slang2
USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --without-x
DLOPEN_REQUIRE_PTHREADS=no
EGDIR= ${PREFIX}/share/examples/libslang2
CONF_FILES+= ${EGDIR}/slsh.rc ${PKG_SYSCONFDIR}/slsh.rc
INSTALL_MAKE_FLAGS+= DEST_SLSH_CONF_DIR=${DESTDIR}/${EGDIR}
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/slang2
.include "../../mk/termcap.buildlink3.mk"
.if ${TERMCAP_TYPE} == "termcap"
CONFIGURE_ENV+= TERMCAP=${BUILDLINK_LDADD.termcap:Q}
CONFIGURE_ENV+= MISC_TERMINFO_DIRS=${PREFIX}/share/terminfo
.else
CONFIGURE_ENV+= TERMCAP=
CONFIGURE_ENV+= MISC_TERMINFO_DIRS=${BUILDLINK_PREFIX.termcap}/share/terminfo
.endif
USE_FEATURES= # empty (used in options.mk)
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|