aboutsummaryrefslogtreecommitdiffstats
path: root/lang/fpc-docs/Makefile
blob: 45a3b63cc2148e79ccfea98a690e9c48ee35a840 (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
# Created by: John Merryweather Cooper
# $FreeBSD$

PORTNAME=   docs
PORTVERSION=    3.0.2
CATEGORIES= lang
MASTER_SITES=   ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/docs/ \
        ftp://freepascal.stack.nl/pub/fpc/dist/${PORTVERSION}/docs/
PKGNAMEPREFIX=  fpc-
DISTNAME=   ${PORTNAME:S/s//}-pdf
DIST_SUBDIR=    freepascal/${PORTVERSION}

MAINTAINER= freebsd-fpc@FreeBSD.org
COMMENT=    Free Pascal compiler Adobe Acrobat(tm) documentation

ONLY_FOR_ARCHS= i386 amd64
NO_BUILD=   yes

DOCSDIR=    ${PREFIX}/share/doc/fpdocs-${PORTVERSION}
PORTDOCS=   chart.pdf fcl.pdf fclres.pdf fpdoc.pdf prog.pdf ref.pdf \
        rtl.pdf user.pdf
SUB_FILES=  pkg-message

do-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>