2013-01-06 22:33:21 +01:00
|
|
|
# Created by: Julien Laffaye <kimelto@gmail.com>
|
2009-04-27 01:46:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= discount
|
2014-03-09 18:17:40 +01:00
|
|
|
DISTVERSION= 2.1.6
|
2009-04-27 01:46:43 +02:00
|
|
|
CATEGORIES= textproc devel
|
2013-02-03 22:29:35 +01:00
|
|
|
MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/discount/ \
|
|
|
|
LOCAL/jlaffaye
|
2009-04-27 01:46:43 +02:00
|
|
|
|
2011-06-08 18:52:32 +02:00
|
|
|
MAINTAINER= jlaffaye@FreeBSD.org
|
2014-08-03 16:15:08 +02:00
|
|
|
COMMENT= C implementation of the Markdown markup language
|
2009-04-27 01:46:43 +02:00
|
|
|
|
2014-03-09 18:17:40 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2010-10-25 17:56:47 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
|
2014-07-29 23:43:17 +02:00
|
|
|
USES= tar:bzip2
|
2009-04-27 01:46:43 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT=configure.sh
|
2009-05-20 17:57:06 +02:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--mandir=${MANPREFIX}/man
|
2009-04-27 01:46:43 +02:00
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
|
2014-01-26 16:57:52 +01:00
|
|
|
PLIST_FILES= bin/markdown lib/libmarkdown.a include/mkdio.h \
|
|
|
|
man/man1/markdown.1.gz man/man3/markdown.3.gz \
|
|
|
|
man/man3/mkd-callbacks.3.gz man/man3/mkd-functions.3.gz \
|
|
|
|
man/man3/mkd-line.3.gz man/man3/mkd_cleanup.3.gz \
|
|
|
|
man/man3/mkd_compile.3.gz man/man3/mkd_css.3.gz \
|
|
|
|
man/man3/mkd_doc_author.3.gz man/man3/mkd_doc_date.3.gz \
|
|
|
|
man/man3/mkd_doc_title.3.gz man/man3/mkd_generatecss.3.gz \
|
|
|
|
man/man3/mkd_generatehtml.3.gz man/man3/mkd_generateline.3.gz \
|
|
|
|
man/man3/mkd_in.3.gz man/man3/mkd_line.3.gz \
|
|
|
|
man/man3/mkd_string.3.gz man/man7/markdown.7.gz \
|
|
|
|
man/man7/mkd-extensions.7.gz
|
2009-04-27 01:46:43 +02:00
|
|
|
|
2013-01-06 22:33:21 +01:00
|
|
|
OPTIONS_DEFINE= EXTRA TAB8 SAMPLES
|
|
|
|
OPTIONS_DEFAULT= EXTRA TAB8
|
2009-04-27 01:46:43 +02:00
|
|
|
|
2013-01-06 22:33:21 +01:00
|
|
|
EXTRA_DESC= Enable all extra features
|
|
|
|
TAB8_DESC= Use a tabstop of 8 (default is 4)
|
|
|
|
SAMPLES_DESC= Install sample programs
|
|
|
|
|
2014-01-26 16:57:52 +01:00
|
|
|
EXTRA_CONFIGURE_ON= --with-dl=both --with-fenced-code --with-github-tags \
|
|
|
|
--with-id-anchor
|
2013-01-06 22:33:21 +01:00
|
|
|
|
2014-01-26 16:57:52 +01:00
|
|
|
TAB8_CONFIGURE_ON= --with-tabstops=8
|
2009-04-27 01:46:43 +02:00
|
|
|
|
2014-01-26 16:57:52 +01:00
|
|
|
SAMPLES_INSTALL_TARGET= install install.samples
|
|
|
|
SAMPLES_PLIST_FILES= bin/makepage bin/mkd2html bin/theme \
|
|
|
|
man/man1/makepage.1.gz man/man1/mkd2html.1.gz \
|
|
|
|
man/man1/theme.1.gz
|
2011-08-24 14:33:37 +02:00
|
|
|
|
2013-01-06 22:33:21 +01:00
|
|
|
.include <bsd.port.mk>
|