2009-10-25 07:48:09 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.48 2009/10/25 11:48:09 sthen Exp $
|
2001-05-05 20:12:42 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= stack-based interpreter for terminal applications
|
2000-11-11 17:40:55 -05:00
|
|
|
|
2009-10-13 17:46:20 -04:00
|
|
|
DISTNAME= slang-2.2.1
|
2009-10-25 07:48:09 -04:00
|
|
|
PKGNAME= lib${DISTNAME}p1
|
2009-10-13 17:46:20 -04:00
|
|
|
SHARED_LIBS= slang 15.0
|
2006-01-07 09:19:29 -05:00
|
|
|
|
2002-10-18 23:07:28 -04:00
|
|
|
CATEGORIES= devel
|
2009-10-13 17:46:20 -04:00
|
|
|
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
|
|
|
|
2009-10-13 17:46:20 -04:00
|
|
|
WANTLIB= c m termcap z
|
|
|
|
|
2009-10-23 05:23:11 -04:00
|
|
|
LIB_DEPENDS= pcre::devel/pcre \
|
|
|
|
onig::textproc/oniguruma
|
2009-10-13 17:46:20 -04:00
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
|
|
|
AUTOCONF_VERSION= 2.61
|
2004-03-04 12:49:26 -05:00
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
2009-10-13 17:46:20 -04:00
|
|
|
AUTOCONF_DIR= ${WRKSRC}/autoconf
|
2001-12-08 00:22:07 -05:00
|
|
|
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"
|
1999-06-22 21:44:36 -04:00
|
|
|
|
2006-01-07 09:19:29 -05:00
|
|
|
MAKE_ENV= LIBslang_MAJOR=${LIBslang_VERSION:R} \
|
|
|
|
LIBslang_MINOR=${LIBslang_VERSION:E}
|
|
|
|
|
2009-10-25 07:48:09 -04:00
|
|
|
# GCC 3.3 optimizer problems: http://marc.info/?m=125562659714004
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
|
|
MAKE_ENV+= slarrfun_C_FLAGS=-O0
|
|
|
|
.endif
|
|
|
|
|
2009-10-13 17:46:20 -04:00
|
|
|
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
|