openbsd-ports/devel/libslang/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

2011-09-21 18:01:56 -04:00
# $OpenBSD: Makefile,v 1.53 2011/09/21 22:01:56 sthen Exp $
COMMENT= stack-based interpreter for terminal applications
2000-11-11 17:40:55 -05:00
2011-09-21 18:01:56 -04:00
DISTNAME= slang-2.2.4
PKGNAME= lib${DISTNAME}
2011-09-21 18:01:56 -04:00
SHARED_LIBS= slang 16.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
2011-09-21 18:01:56 -04:00
WANTLIB += c m onig pcre png termcap z
2010-11-15 14:45:56 -05:00
LIB_DEPENDS= devel/pcre \
2011-09-21 18:01:56 -04:00
graphics/png \
2010-11-15 14:45:56 -05:00
textproc/oniguruma
MODULES= converters/libiconv
AUTOCONF_VERSION= 2.61
CONFIGURE_STYLE= autoconf no-autoheader
AUTOCONF_DIR= ${WRKSRC}/autoconf
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/autoconf
2011-09-21 18:01:56 -04:00
USE_GROFF= Yes
2000-03-04 14:12:51 -05:00
2011-09-21 18:01:56 -04:00
CONFIGURE_ARGS= --with-pnginc=${LOCALBASE}/include/libpng \
--with-pnglib=${LOCALBASE}/lib
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}
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