aboutsummaryrefslogtreecommitdiff
path: root/lang/fpc-docs/Makefile
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-07-24 11:21:27 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-07-24 11:21:27 +0000
commit995ae8b1bdfe5e9d356eae060097bee70cbccbc8 (patch)
tree716cad45f74530d35aed61fcde093f63ed88f722 /lang/fpc-docs/Makefile
parentc9b2d130fe2e03dd698820038b20cd1be036dc3c (diff)
downloadports-995ae8b1bdfe5e9d356eae060097bee70cbccbc8.tar.gz
ports-995ae8b1bdfe5e9d356eae060097bee70cbccbc8.zip
Notes
Diffstat (limited to 'lang/fpc-docs/Makefile')
-rw-r--r--lang/fpc-docs/Makefile42
1 files changed, 12 insertions, 30 deletions
diff --git a/lang/fpc-docs/Makefile b/lang/fpc-docs/Makefile
index 37915eb89631..3baf4f6bbe16 100644
--- a/lang/fpc-docs/Makefile
+++ b/lang/fpc-docs/Makefile
@@ -8,19 +8,17 @@
PORTNAME= docs
PORTVERSION= 2.0.2
CATEGORIES= lang
-MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
- ftp://planetmirror.com/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
- ftp://ftp.jp.freepascal.org/mirror/fpc/dist/i386-freebsd-${PORTVERSION}/ \
- ftp://freepascal.stack.nl/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
- ftp://ftp.no.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
- ftp://ftp.us.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
- ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= freepascal
+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= ${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
-EXTRACT_SUFX= .tar
+DISTNAME= ${PORTNAME:S/s//}-pdf
+DIST_SUBDIR= freepascal
-MAINTAINER= acardenas@bsd.org.pe
+MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal compiler Adobe Acrobat(tm) documentation
ONLY_FOR_ARCHS= i386
@@ -28,28 +26,12 @@ NO_BUILD= yes
DOCSDIR= ${PREFIX}/share/doc/fpdocs-${PORTVERSION}
PORTDOCS= chart.pdf fcl.pdf fpdoc.pdf prog.pdf ref.pdf rtl.pdf user.pdf
-BUILDNAME= i386-freebsd
-PLIST_SUB+= PORTVERSION=${PORTVERSION} \
- BUILDNAME=${BUILDNAME}
SUB_FILES= pkg-message
-do-extract:
-# unpack distribution
- @${MKDIR} ${WRKSRC}
- @${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
- --directory ${WRKSRC}
- @${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
- --directory ${WRKSRC}
-
-# unpack binary and docs distribution
- @${MKDIR} ${WRKSRC}/${PORTNAME}
- @${TAR} zxf ${WRKSRC}/doc-pdf.tar.gz \
- --directory ${WRKSRC}/${PORTNAME}
-
do-install:
- @cd ${WRKSRC}/${PORTNAME}/share && \
- ${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKDIR}/share/doc/fpdocs-${PORTVERSION} && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
post-install:
@${CAT} ${PKGMESSAGE}