[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / Markdown

File: [cvs.NetBSD.org] / pkgsrc / textproc / Markdown / Makefile (download)

Revision 1.16, Mon Nov 4 21:43:33 2019 UTC (9 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD
Changes since 1.15: +3 -3 lines

textproc: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

# $NetBSD: Makefile,v 1.16 2019/11/04 21:43:33 rillig Exp $
#

DISTNAME=	Markdown_1.0.1
PKGNAME=	Markdown-1.0.1
PKGREVISION=	7
CATEGORIES=	textproc converters
MASTER_SITES=	http://daringfireball.net/projects/downloads/
EXTRACT_SUFX=	.zip
DIST_SUBDIR=	${PKGNAME_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://daringfireball.net/projects/markdown/
COMMENT=	Text-to-HTML conversion tool for web writers

USE_LANGUAGES=	# none
NO_BUILD=	yes
USE_TOOLS+=	perl:run

REPLACE_PERL+=	Markdown.pl

PERL5_SITELIB=		${PERL5_SUB_INSTALLVENDORLIB:Q}
PLIST_SUBST+=		PERL5_SITELIB=${PERL5_SITELIB:Q}
INSTALLATION_DIRS=	bin ${PERL5_INSTALLVENDORLIB} share/doc/Markdown

.include "../../mk/bsd.prefs.mk"

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/Markdown.pl ${DESTDIR}${PREFIX}/bin/Markdown
	${INSTALL_SCRIPT} ${WRKSRC}/Markdown.pl ${DESTDIR}${PREFIX}/${PERL5_SITELIB}/Markdown.pm
	${INSTALL_DATA} ${WRKSRC}/"Markdown Readme.text" ${DESTDIR}${PREFIX}/share/doc/Markdown
	${INSTALL_DATA} ${WRKSRC}/License.text ${DESTDIR}${PREFIX}/share/doc/Markdown

.include "../../mk/bsd.pkg.mk"