freebsd-ports/textproc/discount/Makefile
Julien Laffaye e6bbee26ba - 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>
2011-08-24 12:33:37 +00:00

75 lines
1.5 KiB
Makefile

# New ports collection makefile for: discount
# Date created: 2009-04-22
# Whom: Julien Laffaye <kimelto@gmail.com>
#
# $FreeBSD$
#
PORTNAME= discount
PORTVERSION= 2.1.1.3
CATEGORIES= textproc devel
MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/discount/
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= A C implementation of the Markdown markup language
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
USE_BZIP2= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT=configure.sh
CONFIGURE_ARGS= --prefix=${PREFIX} \
--mandir=${MANPREFIX}/man
MAKE_JOBS_SAFE= yes
INSTALL_TARGET= install install.man
MAN1= markdown.1
MAN3= markdown.3 \
mkd-callbacks.3 \
mkd-functions.3 \
mkd-line.3 \
mkd_cleanup.3 \
mkd_compile.3 \
mkd_css.3 \
mkd_doc_author.3 \
mkd_doc_date.3 \
mkd_doc_title.3 \
mkd_generatecss.3 \
mkd_generatehtml.3 \
mkd_generateline.3 \
mkd_in.3 \
mkd_line.3 \
mkd_string.3
MAN7= markdown.7 \
mkd-extensions.7
PLIST_FILES= bin/markdown \
lib/libmarkdown.a \
include/mkdio.h
OPTIONS= EXTRA "Enable all extra features" on \
TAB8 "Use a tabstop of 8 (default is 4)" on \
SAMPLES "Install sample programs" off
.include <bsd.port.pre.mk>
.ifdef (WITH_EXTRA)
CONFIGURE_ARGS+=--enable-dl-tag \
--enable-all-features
.endif
.ifdef (WITH_TAB8)
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>