openbsd-ports/devel/libslang/Makefile

52 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.48 2009/10/25 11:48:09 sthen Exp $
COMMENT= stack-based interpreter for terminal applications
2000-11-11 17:40:55 -05:00
DISTNAME= slang-2.2.1
PKGNAME= lib${DISTNAME}p1
SHARED_LIBS= slang 15.0
2002-10-18 23:07:28 -04:00
CATEGORIES= devel
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v2.2/ \
ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/
1998-10-08 14:47:14 -04:00
2002-10-18 23:07:28 -04:00
HOMEPAGE= http://www.s-lang.org/
2000-06-25 16:38:30 -04:00
2003-01-03 19:05:46 -05:00
# Artistic
2000-03-04 14:12:51 -05:00
PERMIT_PACKAGE_CDROM= Yes
2002-10-18 23:07:28 -04:00
PERMIT_PACKAGE_FTP= Yes
2000-03-04 14:12:51 -05:00
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-03-25 10:28:04 -05:00
WANTLIB= c m termcap z
LIB_DEPENDS= pcre::devel/pcre \
onig::textproc/oniguruma
MODULES= converters/libiconv
AUTOCONF_VERSION= 2.61
CONFIGURE_STYLE= autoconf no-autoheader
AUTOCONF_DIR= ${WRKSRC}/autoconf
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/autoconf
2000-03-04 14:12:51 -05:00
2002-05-07 22:04:08 -04:00
REGRESS_TARGET= runtests
REGRESS_FLAGS= TCAPLIB="-ltermlib"
MAKE_ENV= LIBslang_MAJOR=${LIBslang_VERSION:R} \
LIBslang_MINOR=${LIBslang_VERSION:E}
# GCC 3.3 optimizer problems: http://marc.info/?m=125562659714004
.if ${MACHINE_ARCH} == "amd64"
MAKE_ENV+= slarrfun_C_FLAGS=-O0
.endif
pre-configure:
cd ${AUTOCONF_DIR}; cp configure ..
2002-10-18 23:07:28 -04:00
1997-11-19 19:18:38 -05:00
.include <bsd.port.mk>
1999-06-23 13:28:33 -04:00
2004-08-02 08:35:05 -04:00
.if !(defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes")
1999-06-23 13:28:33 -04:00
ALL_TARGET= all elf
INSTALL_TARGET= install-elf
.endif