diff options
author | adamw <adamw@FreeBSD.org> | 2013-09-30 22:11:58 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2013-09-30 22:11:58 +0800 |
commit | 1f664baaa2549a7103fde80815e74c105d266a35 (patch) | |
tree | a2886e7c7833881ffaef3118f114c0c5daa78815 /textproc | |
parent | 4624d6e5edc9a1950b3367c995d7b269f970cd1e (diff) | |
download | freebsd-ports-gnome-1f664baaa2549a7103fde80815e74c105d266a35.tar.gz freebsd-ports-gnome-1f664baaa2549a7103fde80815e74c105d266a35.tar.zst freebsd-ports-gnome-1f664baaa2549a7103fde80815e74c105d266a35.zip |
Support staging. Also I *think* it is -Jn safe at this point.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/multimarkdown/Makefile | 21 | ||||
-rw-r--r-- | textproc/multimarkdown/pkg-plist | 10 |
2 files changed, 17 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> diff --git a/textproc/multimarkdown/pkg-plist b/textproc/multimarkdown/pkg-plist new file mode 100644 index 000000000000..3afc03cb1d05 --- /dev/null +++ b/textproc/multimarkdown/pkg-plist @@ -0,0 +1,10 @@ +bin/mmd +bin/mmd2all +bin/mmd2odf +bin/mmd2opml +bin/mmd2pdf +bin/mmd2tex +bin/multimarkdown +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README.markdown +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% |