1999-10-03 14:31:36 +00:00
|
|
|
# New ports collection makefile for: code2html
|
2000-03-30 03:38:34 +00:00
|
|
|
# Version required: 0.8.9a
|
1999-10-03 14:31:36 +00:00
|
|
|
# Date created: 01 October 1999
|
|
|
|
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-03-30 03:38:34 +00:00
|
|
|
DISTNAME= code2html-0.8.9a
|
1999-10-03 14:31:36 +00:00
|
|
|
CATEGORIES= textproc
|
2000-03-19 12:40:48 +00:00
|
|
|
MASTER_SITES= ftp://code2html.sourceforge.net/pub/code2html/all/ \
|
2000-03-30 03:38:34 +00:00
|
|
|
http://www.cosy.sbg.ac.at/~ppalfrad/code2html/all/
|
1999-10-03 14:31:36 +00:00
|
|
|
|
1999-12-22 13:31:07 +00:00
|
|
|
MAINTAINER= jedgar@FreeBSD.org
|
1999-10-03 14:31:36 +00:00
|
|
|
|
1999-10-27 07:20:39 +00:00
|
|
|
RUN_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2
|
|
|
|
|
1999-10-03 14:31:36 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2000-03-19 12:40:48 +00:00
|
|
|
MAN1= code2html.1
|
1999-10-27 07:20:39 +00:00
|
|
|
|
|
|
|
do-configure:
|
2000-01-09 13:52:38 +00:00
|
|
|
@${MV} ${WRKSRC}/code2html ${WRKSRC}/code2html.orig
|
1999-10-27 07:20:39 +00:00
|
|
|
@${SED} -e 's|/usr/bin/bzip2|${PREFIX}/bin/bzip2|' \
|
|
|
|
-e 's|/bin/gzip|/usr/bin/gzip|' \
|
|
|
|
-e 's|/etc/code|${PREFIX}/etc/code|' \
|
2000-01-09 13:52:38 +00:00
|
|
|
< ${WRKSRC}/code2html.orig > ${WRKSRC}/code2html
|
2000-03-19 12:40:48 +00:00
|
|
|
@${PERL} -pi.orig -e 's|etc/code|usr/local/etc/code|' ${WRKSRC}/code2html.1
|
1999-10-03 14:31:36 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-03-19 12:40:48 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/code2html ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/code2html.1 ${PREFIX}/man/man1
|
1999-10-03 14:31:36 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|