ports/textproc/latte/Makefile
Gerald Pfeifer 6a5a19bc6e Mark for depreciation, since unmaintained, failing to work with current
versions of GCC, dead upstream, and requiring gcc33 which fails to build
itself (and does not support current versionf of FreeBSD or non-i386).

EXPIRATION_DATE=2009-03-02.
2009-02-01 16:08:01 +00:00

54 lines
1.4 KiB
Makefile

# New ports collection makefile for: latte
# Date created: 15 August 1999
# Whom: Dominik Rothert <dr@domix.de>
#
# $FreeBSD$
#
PORTNAME= latte
PORTVERSION= 2.1
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www.latte.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple language for marking up text in a very expressive way
DEPRECATED= unmaintained, does not work with current versions of GCC, needs gcc33 which fails to build
EXPIRATION_DATE=2009-03-02
USE_BISON= build
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:213 libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-shared
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
USE_LDCONFIG= yes
USE_GCC= 3.3
INFO= latte liblatte
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
post-extract:
-@${RM} ${WRKSRC}/getopt*
post-install:
@${LN} -sf latte-html ${PREFIX}/bin/latte
${INSTALL_DATA} ${WRKSRC}/latte.el ${PREFIX}/share/emacs/site-lisp
${MKDIR} ${PREFIX}/lib/xemacs/site-lisp
${LN} -sf ${PREFIX}/share/emacs/site-lisp/latte.el \
${PREFIX}/lib/xemacs/site-lisp
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${TAR} -C ${WRKSRC} --exclude "*Makefile*" -cf - tests | \
${TAR} -C ${EXAMPLESDIR} --unlink -xf -
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>