# New ports collection makefile for: code2html # Version required: 0.8.9 # Date created: 01 October 1999 # Whom: Chris D. Faulhaber # # $FreeBSD$ # DISTNAME= code2html-0.8.9 CATEGORIES= textproc MASTER_SITES= ftp://code2html.sourceforge.net/pub/code2html/all/ \ http://www.cosy.sbg.ac.at/~ppalfrad/code2html/all/latest/ MAINTAINER= jedgar@FreeBSD.org RUN_DEPENDS= bzip2:${PORTSDIR}/archivers/bzip2 NO_BUILD= yes WRKSRC= ${WRKDIR}/code2html-8.8.9 MAN1= code2html.1 do-configure: @${MV} ${WRKSRC}/code2html ${WRKSRC}/code2html.orig @${SED} -e 's|/usr/bin/bzip2|${PREFIX}/bin/bzip2|' \ -e 's|/bin/gzip|/usr/bin/gzip|' \ -e 's|/etc/code|${PREFIX}/etc/code|' \ < ${WRKSRC}/code2html.orig > ${WRKSRC}/code2html @${PERL} -pi.orig -e 's|etc/code|usr/local/etc/code|' ${WRKSRC}/code2html.1 do-install: ${INSTALL_SCRIPT} ${WRKDIR}/code2html ${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/code2html.1 ${PREFIX}/man/man1 .include