summaryrefslogblamecommitdiff
path: root/textproc/htmlsection/Makefile
blob: 10fb1f586f85b709dabeb707253e5cd0884d3ee6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                    
                                                                      


                                                                     
                                            
                                                                           



















                                                                    
# New ports collection makefile for:	htmlsection
# Date created:		2 October 2001
# Whom:			SAKAI Hiroaki <sakai@seki.ee.kagu.sut.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	htmlsection
PORTVERSION=	1.0
CATEGORIES=	textproc www
MASTER_SITES=	http://www.seki.ee.kagu.tus.ac.jp/~sakai/myfreesoft/ \
		http://hp.vector.co.jp/authors/VA014157/myfreesoft/ \
		http://www.people.or.jp/~hsakai/myfreesoft/

MAINTAINER=	sakai@seki.ee.kagu.tus.ac.jp
COMMENT=	Insert section numbers in HTML and make a table of contents

MAN1=		htmlsection.1
MANCOMPRESSED=	yes

pre-build:
		@(echo perl is set ${PERL} in pre-build:)
		@(cd ${WRKSRC}; ./findperl.sh ${PERL} > whereperl)
		@(cd ${WRKSRC}; ${CAT} whereperl)

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/htmlsection ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/htmlsection.1.gz ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in INSTALL README htmlsection_orig.html htmlsection.html
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>