freebsd-ports/devel/libslang/Makefile
Renato Botelho 3f2ce94f79 - Add devel/libslang2-devel, 2.1-PRE development version.
- Fix CONFLICTS on related ports

Repocopied by:	marcus@
2007-03-03 12:27:43 +00:00

52 lines
1.2 KiB
Makefile

# New ports collection makefile for: S-Lang library
# Date created: 11 July 1996
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= libslang
PORTVERSION= 1.4.9
CATEGORIES= devel
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.4/ \
ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v1.4/ \
ftp://ftp.ntua.gr/pub/lang/slang/slang/v1.4/ \
ftp://ftp.plig.org/pub/slang/v1.4/
DISTNAME= slang-${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= Routines for rapid alpha-numeric terminal applications development
OPTIONS= UTF8 "Enable UTF-8 support - EXPERIMENTAL" off
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFLICTS= libslang2-[0-9]* libslang2-devel-[0-9]* libslang-1.*.j[0-9]
ALL_TARGET= all elf
INSTALL_TARGET= install install-elf
DOCSDIR= ${PREFIX}/share/doc/slang
PORTDOCS= *
.include <bsd.port.pre.mk>
.if defined(WITH_UTF8)
PATCH_SITES+= http://www.emaillab.org/mutt/tools/
PATCHFILES+= slang-1.4.8-utf8.diff.gz
PATCH_DIST_STRIP+= -p1
EXTRA_PATCHES= ${FILESDIR}/extra-utf8-acs.patch
post-patch:
@${REINPLACE_CMD} 's,slang-utf8,slang,' ${WRKSRC}/src/Makefile.in
.endif
post-install:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}/src && ${MAKE} install_docs
.endif
.include <bsd.port.post.mk>