1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/lang/fpc-docs/Makefile
Jose Alonso Cardenas Marquez 99a00aac42 - Update to 2.2.0
2007-09-18 06:53:29 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: Free Pascal Compiler Docs
# Date created: 9 February 2004
# Whom: John Merryweather Cooper
#
# $FreeBSD$
#
PORTNAME= docs
PORTVERSION= 2.2.0
CATEGORIES= lang
MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/docs-${PORTVERSION}/ \
ftp://planetmirror.com/pub/fpc/dist/docs-${PORTVERSION}/ \
ftp://ftp.jp.freepascal.org/mirror/fpc/dist/docs-${PORTVERSION}/ \
ftp://freepascal.stack.nl/pub/fpc/dist/docs-${PORTVERSION}/ \
ftp://ftp.no.freepascal.org/pub/fpc/dist/docs-${PORTVERSION}/ \
ftp://ftp.us.freepascal.org/pub/fpc/dist/docs-${PORTVERSION}/
PKGNAMEPREFIX= fpc-
DISTNAME= ${PORTNAME:S/s//}-pdf
DIST_SUBDIR= freepascal
MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal compiler Adobe Acrobat(tm) documentation
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
DOCSDIR= ${PREFIX}/share/doc/fpdocs-${PORTVERSION}
PORTDOCS= chart.pdf fcl.pdf fpdoc.pdf prog.pdf ref.pdf rtl.pdf user.pdf
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${DOCSDIR}
@cd ${WRKDIR}/share/doc/fpdocs-${PORTVERSION} && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>