svn commit: r341233 - head/textproc/discount
Mathieu Arnold
mat at FreeBSD.org
Sun Jan 26 15:57:53 UTC 2014
Author: mat
Date: Sun Jan 26 15:57:52 2014
New Revision: 341233
URL: http://svnweb.freebsd.org/changeset/ports/341233
QAT: https://qat.redports.org/buildarchive/r341233/
Log:
Support staging.
Sponsored by: Absolight
Modified:
head/textproc/discount/Makefile
Modified: head/textproc/discount/Makefile
==============================================================================
--- head/textproc/discount/Makefile Sun Jan 26 15:55:43 2014 (r341232)
+++ head/textproc/discount/Makefile Sun Jan 26 15:57:52 2014 (r341233)
@@ -20,28 +20,17 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
--mandir=${MANPREFIX}/man
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
+PLIST_FILES= bin/markdown lib/libmarkdown.a include/mkdio.h \
+ man/man1/markdown.1.gz man/man3/markdown.3.gz \
+ man/man3/mkd-callbacks.3.gz man/man3/mkd-functions.3.gz \
+ man/man3/mkd-line.3.gz man/man3/mkd_cleanup.3.gz \
+ man/man3/mkd_compile.3.gz man/man3/mkd_css.3.gz \
+ man/man3/mkd_doc_author.3.gz man/man3/mkd_doc_date.3.gz \
+ man/man3/mkd_doc_title.3.gz man/man3/mkd_generatecss.3.gz \
+ man/man3/mkd_generatehtml.3.gz man/man3/mkd_generateline.3.gz \
+ man/man3/mkd_in.3.gz man/man3/mkd_line.3.gz \
+ man/man3/mkd_string.3.gz man/man7/markdown.7.gz \
+ man/man7/mkd-extensions.7.gz
OPTIONS_DEFINE= EXTRA TAB8 SAMPLES
OPTIONS_DEFAULT= EXTRA TAB8
@@ -50,28 +39,14 @@ EXTRA_DESC= Enable all extra features
TAB8_DESC= Use a tabstop of 8 (default is 4)
SAMPLES_DESC= Install sample programs
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+EXTRA_CONFIGURE_ON= --with-dl=both --with-fenced-code --with-github-tags \
+ --with-id-anchor
-.if ${PORT_OPTIONS:MEXTRA}
-CONFIGURE_ARGS+=--with-dl=both \
- --with-fenced-code \
- --with-github-tags \
- --with-id-anchor
-.endif
-
-.if ${PORT_OPTIONS:MTAB8}
-CONFIGURE_ARGS+=--with-tabstops=8
-.endif
-
-.if ${PORT_OPTIONS:MSAMPLES}
-INSTALL_TARGET+=install.samples
-PLIST_FILES+= bin/makepage \
- bin/mkd2html \
- bin/theme
-MAN1+= makepage.1 \
- mkd2html.1 \
- theme.1
-.endif
+TAB8_CONFIGURE_ON= --with-tabstops=8
+
+SAMPLES_INSTALL_TARGET= install install.samples
+SAMPLES_PLIST_FILES= bin/makepage bin/mkd2html bin/theme \
+ man/man1/makepage.1.gz man/man1/mkd2html.1.gz \
+ man/man1/theme.1.gz
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list