1998-07-20 23:20:24 +00:00
|
|
|
# New ports collection makefile for: htmlpp
|
|
|
|
# Date created: 9 Nov 1997
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Donald Burr <dburr@FreeBSD.org>
|
1998-07-20 23:20:24 +00:00
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1998-07-20 23:20:24 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= htmlpp
|
2001-02-05 15:33:58 +00:00
|
|
|
PORTVERSION= 4.2a
|
1998-07-20 23:20:24 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.imatix.com/pub/tools/
|
2000-04-10 00:07:29 +00:00
|
|
|
DISTNAME= htmlp42a
|
1999-05-01 05:11:33 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-07-20 23:20:24 +00:00
|
|
|
|
2005-03-17 16:42:31 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A Perl script to allow easy creation of HTML from template files
|
1998-07-20 23:20:24 +00:00
|
|
|
|
|
|
|
USE_PERL5= YES
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
do-build:
|
1998-09-15 21:31:59 +00:00
|
|
|
${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
|
1998-07-20 23:20:24 +00:00
|
|
|
${WRKDIR}/htmlpp > ${WRKDIR}/htmlpp.temp
|
|
|
|
${RM} -f ${WRKDIR}/htmlpp
|
|
|
|
${MV} ${WRKDIR}/htmlpp.temp ${WRKDIR}/htmlpp
|
|
|
|
|
|
|
|
do-install:
|
1999-05-01 05:11:33 +00:00
|
|
|
${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
|
1998-07-20 23:20:24 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/htmlpp ${PREFIX}/bin/htmlpp
|
1999-05-01 05:11:33 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/htmlpp.d ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/htmlpp.d
|
|
|
|
(cd ${WRKDIR}; for FILE in *.pl; do ${INSTALL_DATA} $${FILE} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/$${FILE}; done)
|
1998-07-20 23:20:24 +00:00
|
|
|
(cd ${WRKDIR}; for FILE in *.def; do ${INSTALL_DATA} $${FILE} ${PREFIX}/bin/$${FILE}; done)
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/guru_opt.fmt ${PREFIX}/bin/guru.fmt
|
1999-05-01 05:11:33 +00:00
|
|
|
(cd ${WRKDIR}; ${MKDIR} ${PREFIX}/share/doc/htmlpp; for FILE in *.htm; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}; done)
|
1998-07-20 23:20:24 +00:00
|
|
|
(cd ${WRKDIR}; for FILE in *.gif; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}; done)
|
|
|
|
(cd ${WRKDIR}; for FILE in *.txt; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}; done)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|