aboutsummaryrefslogtreecommitdiff
path: root/textproc/discount
diff options
context:
space:
mode:
authorJulien Laffaye <jlaffaye@FreeBSD.org>2011-08-24 12:33:37 +0000
committerJulien Laffaye <jlaffaye@FreeBSD.org>2011-08-24 12:33:37 +0000
commite6bbee26ba7b6fd80369a3772239cf2a3528fe34 (patch)
tree81528b1f83175d24a331318cad63d83637f04c45 /textproc/discount
parent23925552186e52b9f485a7496f115c467b4056f0 (diff)
downloadports-e6bbee26ba7b6fd80369a3772239cf2a3528fe34.tar.gz
ports-e6bbee26ba7b6fd80369a3772239cf2a3528fe34.zip
- Update to 2.1.1.3
- Update MASTER_SITES - Add option to install sample programs PR: ports/160048 Submitted by: Kaspars Bankovskis <kaspars@bankovskis.lv>
Notes
Notes: svn path=/head/; revision=280347
Diffstat (limited to 'textproc/discount')
-rw-r--r--textproc/discount/Makefile18
-rw-r--r--textproc/discount/distinfo4
-rw-r--r--textproc/discount/pkg-descr2
3 files changed, 18 insertions, 6 deletions
diff --git a/textproc/discount/Makefile b/textproc/discount/Makefile
index effc04f61b8b..c9c18ba80066 100644
--- a/textproc/discount/Makefile
+++ b/textproc/discount/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= discount
-PORTVERSION= 2.0.8
+PORTVERSION= 2.1.1.3
CATEGORIES= textproc devel
-MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/markdown/
+MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/discount/
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= A C implementation of the Markdown markup language
@@ -48,7 +48,8 @@ PLIST_FILES= bin/markdown \
include/mkdio.h
OPTIONS= EXTRA "Enable all extra features" on \
- TAB8 "Use a tabstop of 8 (default is 4)" on
+ TAB8 "Use a tabstop of 8 (default is 4)" on \
+ SAMPLES "Install sample programs" off
.include <bsd.port.pre.mk>
.ifdef (WITH_EXTRA)
@@ -60,4 +61,15 @@ CONFIGURE_ARGS+=--enable-dl-tag \
CONFIGURE_ARGS+=--with-tabstops=8
.endif
+.ifdef (WITH_SAMPLES)
+INSTALL_TARGET+=install.samples
+PLIST_FILES+= bin/makepage \
+ bin/mkd2html \
+ bin/theme
+MAN1+= makepage.1 \
+ mkd2html.1 \
+ theme.1
+
+.endif
+
.include <bsd.port.post.mk>
diff --git a/textproc/discount/distinfo b/textproc/discount/distinfo
index 98518da759da..f1c055289cf8 100644
--- a/textproc/discount/distinfo
+++ b/textproc/discount/distinfo
@@ -1,2 +1,2 @@
-SHA256 (discount-2.0.8.tar.bz2) = 9a5f672f4b1ebadd961ffa46aca5ccd908fd489bee1d0869b4a002a5a429aeb6
-SIZE (discount-2.0.8.tar.bz2) = 80662
+SHA256 (discount-2.1.1.3.tar.bz2) = fdb1921bdb1d36b93a695adddd018c74f43d5ceb0b0b20efc4f0cd3a14554ef5
+SIZE (discount-2.1.1.3.tar.bz2) = 82474
diff --git a/textproc/discount/pkg-descr b/textproc/discount/pkg-descr
index 2ffa6ed9d6fa..e0e1624971f1 100644
--- a/textproc/discount/pkg-descr
+++ b/textproc/discount/pkg-descr
@@ -11,4 +11,4 @@ utilize the markdown library.
It also does, by default, various smartypants-style substitutions.
-WWW: http://www.pell.portland.or.us/~orc/Code/markdown/
+WWW: http://www.pell.portland.or.us/~orc/Code/discount/