pkgsrc/devel/libslang2/Makefile
agc 30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00

60 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2017/01/19 18:52:06 agc Exp $
#
DISTNAME= slang-2.2.4
PKGNAME= lib${DISTNAME:slang%=slang2%}
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v2.2/
MASTER_SITES+= ftp://ftp.ntua.gr/pub/lang/slang/slang/v2.2/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.jedsoft.org/slang/
COMMENT= Routines for rapid alpha-numeric terminal applications development
LICENSE= gnu-gpl-v2
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
CONFIGURE_ARGS+= --with-z=${BUILDLINK_PREFIX.zlib}
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
REPLACE_INTERPRETER+= slsh
REPLACE.slsh.old= slsh
REPLACE.slsh.new= ${PREFIX}/bin/slsh
REPLACE_FILES.slsh= slsh/scripts/jpegsize slsh/scripts/lsrpm \
slsh/scripts/sldb slsh/scripts/slprof \
slsh/scripts/svnsh slsh/scripts/slstkchk
USE_FEATURES= # empty (used in options.mk)
.include "options.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"