mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
4182e08926
Noticed by: bento via kris
46 lines
1.2 KiB
Makefile
46 lines
1.2 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
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.latte.org/ \
|
|
ftp://ftp.brasslantern.com/pub/zanshin/latte/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple language for marking up text in a very expressive way
|
|
|
|
USE_BISON= yes
|
|
USE_GETOPT_LONG= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOCONF_VER= 213
|
|
USE_LIBTOOL_VER= 13
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --enable-shared
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
AUTOHEADER="${TRUE}"
|
|
|
|
INFO= latte liblatte
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
post-extract:
|
|
-@${RM} ${WRKSRC}/getopt*
|
|
|
|
post-install:
|
|
@${LN} -sf latte-html ${PREFIX}/bin/latte
|
|
${INSTALL_DATA} ${WRKSRC}/latte.el ${PREFIX}/share/emacs/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.mk>
|