40 lines
925 B
Makefile
40 lines
925 B
Makefile
# $OpenBSD: Makefile,v 1.2 2011/11/16 15:56:38 robert 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
|
|
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>
|