mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
5114e2637e
bsd.port.mk rev. 1.304 for details on the change. The fix here is one of the following. (1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining EXTRACT_* commands. (2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously calling the "tar" command (i.e., arguments like "-xzf" are spelled out). (3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS}, add ${EXTRACT_AFTER_ARGS} to the command line as well. (4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS is set, define the other two too.
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
# New ports collection makefile for: htmlpp
|
|
# Version required: 3.9d
|
|
# Date created: 9 Nov 1997
|
|
# Whom: Donald Burr <dburr@FreeBSD.ORG>
|
|
#
|
|
# $Id: Makefile,v 1.3 1998/11/29 08:20:30 asami Exp $
|
|
#
|
|
|
|
DISTNAME= htmlpp
|
|
PKGNAME= htmlpp-3.9d
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.imatix.com/pub/tools/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= dburr@FreeBSD.ORG
|
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
EXTRACT_CMD= unzip
|
|
EXTRACT_BEFORE_ARGS= -qa
|
|
EXTRACT_AFTER_ARGS= # empty
|
|
|
|
USE_PERL5= YES
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
do-build:
|
|
${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
|
|
${WRKDIR}/htmlpp > ${WRKDIR}/htmlpp.temp
|
|
${RM} -f ${WRKDIR}/htmlpp
|
|
${MV} ${WRKDIR}/htmlpp.temp ${WRKDIR}/htmlpp
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/lib/perl5/site_perl
|
|
${INSTALL_SCRIPT} ${WRKDIR}/htmlpp ${PREFIX}/bin/htmlpp
|
|
${INSTALL_DATA} ${WRKDIR}/htmlpp.d ${PREFIX}/lib/perl5/site_perl/htmlpp.d
|
|
(cd ${WRKDIR}; for FILE in *.pl; do ${INSTALL_DATA} $${FILE} ${PREFIX}/lib/perl5/site_perl/$${FILE}; done)
|
|
(cd ${WRKDIR}; for FILE in *.def; do ${INSTALL_DATA} $${FILE} ${PREFIX}/bin/$${FILE}; done)
|
|
${INSTALL_DATA} ${WRKDIR}/guru_opt.fmt ${PREFIX}/bin/guru.fmt
|
|
${INSTALL_DATA} ${WRKDIR}/htmlpp.l ${PREFIX}/bin/htmlpp.l
|
|
(cd ${WRKDIR}; ${MKDIR} ${PREFIX}/share/doc/htmlpp; for FILE in *.htm; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/doc/htmlpp/$${FILE}l; done)
|
|
(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>
|