2009-03-17 22:40:44 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2009/03/17 21:40:45 darcy Exp $
|
Initial import of code2html:
code2html is a perlscript which converts a program source code to syntax
highlighted HTML. It may be called from the command line or as a CGI script.
It can also handle include commands in HTML files. Currently supports: Ada 95,
C, C++, HTML, Java, JavaScript, Makefile, Pascal, Perl, SQL, AWK, M4, and
Groff.
2003-06-24 03:48:59 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= code2html-0.9.1
|
|
|
|
CATEGORIES= converters devel textproc
|
|
|
|
MASTER_SITES= http://www.palfrader.org/code2html/all/
|
|
|
|
|
2009-03-17 22:40:44 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
Initial import of code2html:
code2html is a perlscript which converts a program source code to syntax
highlighted HTML. It may be called from the command line or as a CGI script.
It can also handle include commands in HTML files. Currently supports: Ada 95,
C, C++, HTML, Java, JavaScript, Makefile, Pascal, Perl, SQL, AWK, M4, and
Groff.
2003-06-24 03:48:59 +02:00
|
|
|
HOMEPAGE= http://www.palfrader.org/code2html/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Convert a program source code to syntax highlighted HTML
|
Initial import of code2html:
code2html is a perlscript which converts a program source code to syntax
highlighted HTML. It may be called from the command line or as a CGI script.
It can also handle include commands in HTML files. Currently supports: Ada 95,
C, C++, HTML, Java, JavaScript, Makefile, Pascal, Perl, SQL, AWK, M4, and
Groff.
2003-06-24 03:48:59 +02:00
|
|
|
|
2008-03-03 06:51:07 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-09-28 22:52:18 +02:00
|
|
|
NO_BUILD= yes
|
2003-09-02 14:48:33 +02:00
|
|
|
REPLACE_PERL= code2html
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= perl:run
|
Initial import of code2html:
code2html is a perlscript which converts a program source code to syntax
highlighted HTML. It may be called from the command line or as a CGI script.
It can also handle include commands in HTML files. Currently supports: Ada 95,
C, C++, HTML, Java, JavaScript, Makefile, Pascal, Perl, SQL, AWK, M4, and
Groff.
2003-06-24 03:48:59 +02:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2005-06-16 08:57:37 +02:00
|
|
|
|
Initial import of code2html:
code2html is a perlscript which converts a program source code to syntax
highlighted HTML. It may be called from the command line or as a CGI script.
It can also handle include commands in HTML files. Currently supports: Ada 95,
C, C++, HTML, Java, JavaScript, Makefile, Pascal, Perl, SQL, AWK, M4, and
Groff.
2003-06-24 03:48:59 +02:00
|
|
|
do-install:
|
2008-03-03 06:51:07 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/code2html ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/code2html.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
Initial import of code2html:
code2html is a perlscript which converts a program source code to syntax
highlighted HTML. It may be called from the command line or as a CGI script.
It can also handle include commands in HTML files. Currently supports: Ada 95,
C, C++, HTML, Java, JavaScript, Makefile, Pascal, Perl, SQL, AWK, M4, and
Groff.
2003-06-24 03:48:59 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|