c565dc3c04
This is David Loren Parsons's implementation of John Gruber's Markdown text to html language. There's not much here that differentiates it from any of the existing Markdown implementations except that it's written in C instead of one of the vast flock of scripting languages that are fighting it out for the Perl crown. Markdown provides a library that gives you formatting functions suitable for marking down entire documents or lines of text, a command-line program that you can use to mark down documents interactively or from a script, and a tiny suite of example programs that show how to fully utilize the markdown library.
33 lines
726 B
Makefile
33 lines
726 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/04/13 20:45:05 sthen Exp $
|
|
|
|
COMMENT = fast C implementation of Markdown
|
|
|
|
DISTNAME = discount-1.3.5
|
|
CATEGORIES = textproc
|
|
|
|
HOMEPAGE = http://www.pell.portland.or.us/~orc/Code/markdown/
|
|
|
|
MAINTAINER = Scott Vokes <vokes.s@gmail.com>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB += c
|
|
|
|
MASTER_SITES = http://www.pell.portland.or.us/~orc/Code/markdown/
|
|
|
|
CONFIGURE_STYLE = simple
|
|
CONFIGURE_SCRIPT = configure.sh
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
|
|
|
|
INSTALL_TARGET = install.everything
|
|
REGRESS_TARGET = test
|
|
|
|
pre-configure:
|
|
@perl -pi -e 's,\./markdown,\./discount,' ${WRKSRC}/tests/*.t
|
|
|
|
.include <bsd.port.mk>
|