aboutsummaryrefslogtreecommitdiffstats
path: root/devel/scandoc/Makefile
blob: fd7f151305fd120aea612519a7063dc2b9fe3c61 (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
# New ports collection makefile for:   scandoc
# Date created:        13 April 2001
# Whom:                Christopher Elkins <chrise@scardini.com>
#
# $FreeBSD$
#

PORTNAME=   scandoc
PORTVERSION=    0.14
CATEGORIES= devel perl5
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A C/C++ documentation generator

USE_PERL5=  yes
NO_BUILD=   yes

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
.for i in COPYING ChangeLog README scandoc.html
    ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}
.endfor
    ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/images
    ${CP} -R ${WRKSRC}/images/ ${PREFIX}/share/doc/${PORTNAME}/images/
    ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/templates
    ${CP} -R ${WRKSRC}/templates/ ${PREFIX}/share/doc/${PORTNAME}/templates/
    ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/test
    ${CP} -R ${WRKSRC}/test/ ${PREFIX}/share/doc/${PORTNAME}/test/
.endif

.include <bsd.port.mk>