summaryrefslogtreecommitdiff
path: root/devel/libslang/Makefile
blob: e8580fa9e720cf97705a6335d5be5e01d6428c6f (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
# $NetBSD: Makefile,v 1.42 2003/07/13 13:51:21 wiz Exp $
#

DISTNAME=	slang-1.4.9
PKGNAME=	lib${DISTNAME}
SVR4_PKGNAME=	lslan
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	ftp://space.mit.edu/pub/davis/slang/v1.4/ \
		http://gd.tuwien.ac.at/editors/davis/slang/v1.4/ \
		ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/slang/v1.4/ \
		ftp://ftp.ntua.gr/pub/lang/slang/slang/v1.4/ \
		ftp://ftp.plig.org/pub/slang/v1.4/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=    	tech-pkg@netbsd.org
HOMEPAGE=	http://www.s-lang.org/
COMMENT=	Routines for rapid alpha-numeric terminal applications development

USE_BUILDLINK2=		# defined
USE_GMAKE=		# defined
USE_LIBTOOL=		# defined
GNU_CONFIGURE=		# defined

CONFIG_GUESS_OVERRIDE=	${WRKSRC}/autoconf/config.guess
CONFIG_SUB_OVERRIDE=	${WRKSRC}/autoconf/config.sub

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/slang
	${MV} ${PREFIX}/share/doc/slang/slangdoc.html \
		${PREFIX}/share/doc/html/slang

.include "../../mk/bsd.prefs.mk"

# Debian doesn't have ltermcap, use ncurses instead
.if ${OPSYS} == "Linux" && ${LOWER_VENDOR} == "debian"
post-patch:
	${SED} -e 's/ -ltermcap / /' ${WRKSRC}/src/Makefile.in > \
		${WRKSRC}/src/Makefile.in.tmp &&		\
		${MV} ${WRKSRC}/src/Makefile.in.tmp ${WRKSRC}/src/Makefile.in

. include "../../devel/ncurses/buildlink2.mk"
.endif

.include "../../mk/bsd.pkg.mk"