mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
PR: ports/85739 Submitted by: Andrej Zverev <az@inec.ru> Approved by: maintainer timeout (25 days)
38 lines
882 B
Makefile
38 lines
882 B
Makefile
# New ports collection makefile for: code2html
|
|
# Date created: 01 October 1999
|
|
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= code2html
|
|
PORTVERSION= 0.9.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
http://www.palfrader.org/code2html/all/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= jedgar@FreeBSD.org
|
|
COMMENT= Sourcecode to HTML converter
|
|
|
|
NO_BUILD= yes
|
|
USE_REINPLACE= yes
|
|
USE_PERL5_RUN= yes
|
|
|
|
MAN1= code2html.1
|
|
PLIST_FILES= bin/code2html
|
|
|
|
do-configure:
|
|
@${REINPLACE_CMD} \
|
|
-e 's|/usr/bin/bzip2|${BZIP2_CMD}|' \
|
|
-e 's|/bin/gzip|/usr/bin/gzip|' \
|
|
-e 's|/etc/|${PREFIX}/etc/|' \
|
|
${WRKSRC}/code2html
|
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' \
|
|
${WRKSRC}/code2html.1
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/code2html ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/code2html.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|