1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/lang/fpc-docs/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

31 lines
781 B
Makefile

# Created by: John Merryweather Cooper
# $FreeBSD$
PORTNAME= docs
PORTVERSION= 3.0.4
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= acm@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
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>