36 lines
768 B
Makefile
36 lines
768 B
Makefile
# $OpenBSD: Makefile,v 1.18 2000/03/25 21:08:01 brad Exp $
|
|
|
|
DISTNAME= slang-1.4.0
|
|
PKGNAME= libslang-1.4.0
|
|
CATEGORIES= devel
|
|
NEED_VERSION= 1.218
|
|
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.4/ \
|
|
http://gd.tuwien.ac.at/editors/davis/slang/v1.4/
|
|
|
|
MAINTAINER= todd@openbsd.org
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
FAKE= Yes
|
|
|
|
GNU_CONFIGURE= Yes
|
|
|
|
do-install:
|
|
@cd ${WRKDIST}/src && make prefix=${PREFIX} ${INSTALL_TARGET}
|
|
@if [ ${INSTALL_TARGET} == "install-elf" ]; then \
|
|
cd ${WRKDIST}/src && make prefix=${PREFIX} install-links; \
|
|
fi
|
|
|
|
test: build
|
|
@cd ${WRKSRC} && make runtests
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
.if !defined(NO_SHARED_LIBS)
|
|
ALL_TARGET= all elf
|
|
INSTALL_TARGET= install-elf
|
|
.endif
|