# New ports collection makefile for: multimarkdown # Date created: 27 October 2011 # Whom: Adam Weinberger # # $FreeBSD$ # PORTNAME= multimarkdown PORTVERSION= 3.7.1 DISTNAME= peg-${PORTNAME}-${PORTVERSION} CATEGORIES= textproc MASTER_SITES= http://github.com/fletcher/peg-${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/ MAINTAINER= adamw@FreeBSD.org COMMENT= Extended Markdown processor with more features, written in C CONFLICTS_INSTALL= mtools-* LICENSE= MIT FETCH_ARGS= -Fpr USE_GMAKE= yes ALL_TARGET= ALL MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/multimarkdown bin/mmd bin/mmd2all bin/mmd2odf bin/mmd2opml bin/mmd2pdf bin/mmd2tex PORTDOCS= LICENSE README.markdown post-patch: @${REINPLACE_CMD} -E "/CFLAGS/s/-arch [[:alnum:]]+//; /CFLAGS/s/\?=/\+=/" \ ${WRKSRC}/Makefile do-install: @${INSTALL} -m 755 ${WRKSRC}/multimarkdown ${PREFIX}/bin @${INSTALL} -m 755 ${WRKSRC}/scripts/* ${PREFIX}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @(cd ${WRKSRC}; ${INSTALL} -m 644 LICENSE README.markdown ${DOCSDIR}) .endif .include