blob: 9d98f72c2f60214dad197323411652fd908fbd91 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Donald Burr <dburr@FreeBSD.org>
# $FreeBSD$
PORTNAME= htmlpp
PORTVERSION= 4.2a
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://legacy.imatix.com/pub/tools/
DISTNAME= htmlp42a
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl script to allow easy creation of HTML from template files
LICENSE= GPLv2+
USES= perl5 shebangfix tar:tgz
SHEBANG_FILES= htmlpp
NO_WRKSUBDIR= yes
NO_BUILD= yes
NO_ARCH= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
${INSTALL_SCRIPT} ${WRKSRC}/htmlpp ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/*.def ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/*.pl ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/
${INSTALL_DATA} ${WRKSRC}/htmlpp.d ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/
${INSTALL_DATA} ${WRKSRC}/guru_opt.fmt ${STAGEDIR}${PREFIX}/bin/guru.fmt
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} *.htm *.gif *.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|