aboutsummaryrefslogtreecommitdiff
path: root/textproc/multimarkdown/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2013-09-30 14:11:58 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2013-09-30 14:11:58 +0000
commit337aaa4d63aa480f9a67e3de2a0be997c7151552 (patch)
treea2886e7c7833881ffaef3118f114c0c5daa78815 /textproc/multimarkdown/Makefile
parent3703080d82a606d7508a35570402f2cf45917012 (diff)
downloadports-337aaa4d63aa480f9a67e3de2a0be997c7151552.tar.gz
ports-337aaa4d63aa480f9a67e3de2a0be997c7151552.zip
Notes
Diffstat (limited to 'textproc/multimarkdown/Makefile')
-rw-r--r--textproc/multimarkdown/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/textproc/multimarkdown/Makefile b/textproc/multimarkdown/Makefile
index 6ae6997f185f..c18a239d29b5 100644
--- a/textproc/multimarkdown/Makefile
+++ b/textproc/multimarkdown/Makefile
@@ -19,13 +19,8 @@ FETCH_ARGS= -Fpr
USE_GMAKE= yes
ALL_TARGET= ALL
-MAKE_JOBS_UNSAFE= yes
+#MAKE_JOBS_UNSAFE= yes
-PLIST_FILES= bin/multimarkdown bin/mmd bin/mmd2all bin/mmd2odf bin/mmd2opml bin/mmd2pdf bin/mmd2tex
-PORTDOCS= LICENSE README.markdown
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -E "/CFLAGS/s/-arch [[:alnum:]]+//; /CFLAGS/s/\?=/\+=/; \
@@ -33,13 +28,11 @@ post-patch:
${WRKSRC}/Makefile
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/multimarkdown ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/bin
-
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.markdown ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/multimarkdown ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${PREFIX}/bin
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>