aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorjlaffaye <jlaffaye@FreeBSD.org>2011-08-24 20:33:37 +0800
committerjlaffaye <jlaffaye@FreeBSD.org>2011-08-24 20:33:37 +0800
commit80af17aae3ea9ab2fd1a3b00c78b608920ef5335 (patch)
tree9717a25760b11b320f4b405a303b2213aba77e96 /textproc
parent2373d0fe5c522d8d541c1fbbb35e01dd26f3c1ce (diff)
downloadfreebsd-ports-gnome-80af17aae3ea9ab2fd1a3b00c78b608920ef5335.tar.gz
freebsd-ports-gnome-80af17aae3ea9ab2fd1a3b00c78b608920ef5335.tar.zst
freebsd-ports-gnome-80af17aae3ea9ab2fd1a3b00c78b608920ef5335.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>
Diffstat (limited to 'textproc')
-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/