openbsd-ports/devel/libslang/Makefile

44 lines
972 B
Makefile

# $OpenBSD: Makefile,v 1.36 2003/08/13 23:41:02 naddy Exp $
COMMENT= "stack-based interpreter for terminal applications"
VERSION= 1.4.9
DISTNAME= slang-${VERSION}
PKGNAME= libslang-${VERSION}
CATEGORIES= devel
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
# work around an optimizer bug in gcc 2.95
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= gcc-patch-* patch-*
.endif
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