blob: 4338b59888935dd3fd54d97af280b8832ed59bdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.6 2012/10/03 21:57:46 wiz Exp $
#
DISTNAME= Markdown_1.0.1
PKGNAME= Markdown-1.0.1
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://daringfireball.net/projects/downloads/
EXTRACT_SUFX= .zip
DIST_SUBDIR= ${PKGNAME_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://daringfireball.net/projects/markdown/
COMMENT= Text-to-HTML conversion tool for web writers
PKG_DESTDIR_SUPPORT= user-destdir
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"
|