1999-09-10 08:34:30 +02:00
|
|
|
# New ports collection makefile for: latte
|
|
|
|
# Date created: 15 August 1999
|
|
|
|
# Whom: Dominik Rothert <dr@domix.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 23:54:47 +02:00
|
|
|
PORTNAME= latte
|
2004-03-19 20:50:52 +01:00
|
|
|
PORTVERSION= 2.1
|
2004-02-22 11:10:44 +01:00
|
|
|
CATEGORIES= textproc
|
1999-09-10 08:34:30 +02:00
|
|
|
MASTER_SITES= http://www.latte.org/ \
|
|
|
|
ftp://ftp.brasslantern.com/pub/zanshin/latte/
|
|
|
|
|
2004-02-22 11:10:44 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:42:50 +01:00
|
|
|
COMMENT= Simple language for marking up text in a very expressive way
|
1999-09-10 08:34:30 +02:00
|
|
|
|
2004-03-22 06:55:52 +01:00
|
|
|
USE_BISON= yes
|
2004-03-19 20:50:52 +01:00
|
|
|
USE_GETOPT_LONG= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_AUTOCONF_VER= 213
|
2004-07-09 19:43:11 +02:00
|
|
|
USE_INC_LIBTOOL_VER= 13
|
2004-03-19 20:50:52 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
CONFIGURE_ARGS= --enable-shared
|
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
|
|
AUTOHEADER="${TRUE}"
|
2004-11-02 02:13:31 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-09-10 08:34:30 +02:00
|
|
|
|
2004-03-19 20:50:52 +01:00
|
|
|
INFO= latte liblatte
|
2004-02-23 05:33:38 +01:00
|
|
|
|
2004-03-19 20:50:52 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
|
2004-09-18 20:47:46 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 502126
|
2004-11-02 02:13:31 +01:00
|
|
|
USE_GCC= 3.3
|
2004-09-18 20:47:46 +02:00
|
|
|
.endif
|
|
|
|
|
2004-03-19 20:50:52 +01:00
|
|
|
post-extract:
|
|
|
|
-@${RM} ${WRKSRC}/getopt*
|
2004-02-23 05:33:38 +01:00
|
|
|
|
1999-09-10 08:34:30 +02:00
|
|
|
post-install:
|
2004-03-19 20:50:52 +01:00
|
|
|
@${LN} -sf latte-html ${PREFIX}/bin/latte
|
2004-02-22 11:10:44 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/latte.el ${PREFIX}/share/emacs/site-lisp
|
2004-03-19 20:50:52 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${TAR} -C ${WRKSRC} --exclude "*Makefile*" -cf - tests | \
|
|
|
|
${TAR} -C ${EXAMPLESDIR} --unlink -xf -
|
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
|
|
|
|
.endif
|
1999-09-10 08:34:30 +02:00
|
|
|
|
2004-09-18 20:47:46 +02:00
|
|
|
.include <bsd.port.post.mk>
|