aboutsummaryrefslogtreecommitdiff
path: root/lang/fpc/Makefile
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2012-04-19 06:20:01 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2012-04-19 06:20:01 +0000
commit0fde88adba7ff63fa7587d39f587c77e25b83f7c (patch)
treee20487dbc589d6b63d56d16423f2a75bdcc5d4e9 /lang/fpc/Makefile
parent5ab903e5a5d7717ff66a2ef5f8446adeb88a2e2d (diff)
downloadports-0fde88adba7ff63fa7587d39f587c77e25b83f7c.tar.gz
ports-0fde88adba7ff63fa7587d39f587c77e25b83f7c.zip
Notes
Diffstat (limited to 'lang/fpc/Makefile')
-rw-r--r--lang/fpc/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile
index f2278a584291..72fff691d13d 100644
--- a/lang/fpc/Makefile
+++ b/lang/fpc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fpc
-PORTVERSION= 2.4.4
+PORTVERSION= 2.6.0
PORTREVISION?= 0
CATEGORIES?= lang
MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \
@@ -115,7 +115,9 @@ do-extract:
# unpack source distribution
@cd ${WRKDIR} && \
${GZIP_CMD} -dc ${_DISTDIR}/${DISTNAME:S/$/.source/}${EXTRACT_SUFX} \
- | ${TAR} xf - ${FPCSRCDIR}/compiler ${FPCSRCDIR}/rtl ${FPCSRCDIR}/utils/fpcm
+ | ${TAR} xf - ${FPCSRCDIR}/compiler ${FPCSRCDIR}/rtl \
+ ${FPCSRCDIR}/utils/fpcmkcfg ${FPCSRCDIR}/packages/fcl-base \
+ ${FPCSRCDIR}/packages/fcl-process ${FPCSRCDIR}/utils/fpcm
post-patch:
.if ${ARCH} == "i386"
@@ -129,16 +131,21 @@ post-patch:
do-build:
# build fpc compiler
@cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${GMAKE} cycle ${MAKE_ENV}
-# build fpcmake
+# build fpcmkcfg
@cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcm && ${GMAKE} ${MAKE_ENV}
+ @cd ${WRKDIR}/${FPCSRCDIR}/packages/fcl-base && ${GMAKE} ${MAKE_ENV}
+ @cd ${WRKDIR}/${FPCSRCDIR}/packages/fcl-process && ${GMAKE} ${MAKE_ENV}
+ @cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg && ${GMAKE} ${MAKE_ENV}
do-install:
# Installing fpc compiler
@cd ${WRKDIR}/${FPCSRCDIR}/rtl && ${GMAKE} install ${MAKE_ENV}
# Installing fpc runtime
@cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${GMAKE} install ${MAKE_ENV}
+# Installng fpcmkcfg
+ @cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg && ${GMAKE} install ${MAKE_ENV}
# Installng fpcmake
- @@cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcm && ${GMAKE} install ${MAKE_ENV}
+ @cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcm && ${GMAKE} install ${MAKE_ENV}
# Installing manpages
${INSTALL_DATA} ${WRKDIR}/man/man1/* ${MAN1PREFIX}/man/man1
${INSTALL_DATA} ${WRKDIR}/man/man5/* ${MAN1PREFIX}/man/man5