37 lines
837 B
Makefile
37 lines
837 B
Makefile
# $OpenBSD: Makefile,v 1.3 2013/03/11 11:44:47 espie Exp $
|
|
|
|
COMMENT= Markdown implementation for PHP
|
|
|
|
DISTNAME= php-markdown-1.0.1n
|
|
CATEGORIES= www
|
|
|
|
REVISION= 0
|
|
|
|
HOMEPAGE= http://michelf.com/projects/php-markdown/
|
|
|
|
# modified BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= http://michelf.com/docs/projets/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
NO_BUILD= Yes
|
|
NO_TEST= 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>
|