40 lines
893 B
Makefile
40 lines
893 B
Makefile
# $OpenBSD: Makefile,v 1.34 2003/01/04 00:05:46 brad Exp $
|
|
|
|
COMMENT= "stack-based interpreter for terminal applications"
|
|
|
|
VERSION= 1.4.6
|
|
DISTNAME= slang-${VERSION}
|
|
PKGNAME= libslang-${VERSION}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
|
#MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.4/ \
|
|
# http://gd.tuwien.ac.at/editors/davis/slang/v1.4/
|
|
|
|
HOMEPAGE= http://www.s-lang.org/
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
# Artistic
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/autoconf
|
|
|
|
REGRESS_TARGET= runtests
|
|
REGRESS_FLAGS= TCAPLIB="-ltermlib"
|
|
|
|
pre-patch:
|
|
.for f in aclocal.m4 configure.in
|
|
@cd ${WRKSRC} && ln -sf autoconf/${f} ${f}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
.if !defined(NO_SHARED_LIBS)
|
|
ALL_TARGET= all elf
|
|
INSTALL_TARGET= install-elf
|
|
.endif
|