import php-markdown 1.0.1n

Markdown is a text-to-HTML conversion tool for web writers. Markdown
allows you to write using an easy-to-read, easy-to-write plain text
format, then convert it to structurally valid XHTML (or HTML).
PHP-Markdown is a port to PHP of the original Markdown program by John
Gruber.
This commit is contained in:
jasper 2009-11-18 19:19:47 +00:00
parent f2ad5059c7
commit cbdf079350
4 changed files with 55 additions and 0 deletions

37
www/php-markdown/Makefile Normal file
View File

@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/18 19:19:47 jasper Exp $
COMMENT= Markdown implementation for PHP
DISTNAME= php-markdown-1.0.1n
CATEGORIES= www
HOMEPAGE= http://michelf.com/projects/php-markdown/
# modified BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://michelf.com/docs/projets/
EXTRACT_SUFX= .zip
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
# Although this library is not PEAR, installing it into
# ${PREFIX}/pear/lib will make sure it's picked up by PHP
# without the need to adjust the include path in php.ini
PREFIX= /var/www
INSTDIR= ${PREFIX}/pear/lib/
SUBST_VARS= INSTDIR
WRKSRC= ${WRKDIR}/PHP\ Markdown\ 1.0.1n/
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
${INSTALL_DATA} ${WRKSRC}/markdown.php ${INSTDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (php-markdown-1.0.1n.zip) = NFnMrkhuAuFhSucOD75QZA==
RMD160 (php-markdown-1.0.1n.zip) = Y6pEZuEfusYOTMe/owJ6sCGIncQ=
SHA1 (php-markdown-1.0.1n.zip) = x+WKnrWIBstMA47riwa4syhPyHg=
SHA256 (php-markdown-1.0.1n.zip) = NI2zobY0ZX9uL1QDyHe0iYjAYvES6CUwT6T56RrrSNU=
SIZE (php-markdown-1.0.1n.zip) = 26872

View File

@ -0,0 +1,8 @@
Markdown is a text-to-HTML conversion tool for web writers. Markdown
allows you to write using an easy-to-read, easy-to-write plain text
format, then convert it to structurally valid XHTML (or HTML).
"Markdown" is two things: a plain text markup syntax, and a software
tool, written in Perl, that converts the plain text markup to HTML. PHP
Markdown is a port to PHP of the original Markdown program by John
Gruber.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/11/18 19:19:47 jasper Exp $
@group daemon
pear/
pear/lib/
pear/lib/markdown.php