aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-01-26 23:57:52 +0800
committermat <mat@FreeBSD.org>2014-01-26 23:57:52 +0800
commite684325f44a95ab5dc424d2edccaa7db9bedcb42 (patch)
tree0610ef5a565cc4c675c7ed93548346ca69c7ae67 /textproc
parent541457fdc2748fc34dd22158538fb12ae7a1c4b4 (diff)
downloadfreebsd-ports-graphics-e684325f44a95ab5dc424d2edccaa7db9bedcb42.tar.gz
freebsd-ports-graphics-e684325f44a95ab5dc424d2edccaa7db9bedcb42.tar.zst
freebsd-ports-graphics-e684325f44a95ab5dc424d2edccaa7db9bedcb42.zip
Support staging.
Sponsored by: Absolight
Diffstat (limited to 'textproc')
-rw-r--r--textproc/discount/Makefile61
1 files changed, 18 insertions, 43 deletions
diff --git a/textproc/discount/Makefile b/textproc/discount/Makefile
index 4749fdff87d..14b785daf0e 100644
--- a/textproc/discount/Makefile
+++ b/textproc/discount/Makefile
@@ -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
+TAB8_CONFIGURE_ON= --with-tabstops=8
-.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
+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>