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
|
2007-10-17 12:13:01 +02:00
|
|
|
PORTREVISION= 3
|
2004-02-22 11:10:44 +01:00
|
|
|
CATEGORIES= textproc
|
2006-05-01 16:45:05 +02:00
|
|
|
MASTER_SITES= http://www.latte.org/
|
1999-09-10 08:34:30 +02:00
|
|
|
|
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
|
|
|
|
2007-10-17 12:13:01 +02:00
|
|
|
USE_BISON= build
|
2004-03-19 20:50:52 +01:00
|
|
|
USE_GMAKE= yes
|
2006-03-05 22:38:28 +01:00
|
|
|
USE_AUTOTOOLS= autoconf:213 libtool:15
|
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}"
|
2006-08-15 03:04:55 +02:00
|
|
|
USE_LDCONFIG= yes
|
2009-01-06 18:43:44 +01:00
|
|
|
USE_GCC= 3.3
|
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>
|
|
|
|
|
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
|
2006-06-09 09:42:08 +02:00
|
|
|
${MKDIR} ${PREFIX}/lib/xemacs/site-lisp
|
2006-06-07 16:45:29 +02:00
|
|
|
${LN} -sf ${PREFIX}/share/emacs/site-lisp/latte.el \
|
|
|
|
${PREFIX}/lib/xemacs/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>
|