aboutsummaryrefslogtreecommitdiff
path: root/devel/fpc-fv
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-06-09 11:04:55 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-06-09 11:04:55 +0000
commit59d8f8162bdac71e7716d7de5c56486e4525b899 (patch)
treeea3aa14a4171d0bf7fae274a886c41bcbd8f8561 /devel/fpc-fv
parent28159c2dd015e135aa6ee0148faeaa6f934887bd (diff)
downloadports-59d8f8162bdac71e7716d7de5c56486e4525b899.tar.gz
ports-59d8f8162bdac71e7716d7de5c56486e4525b899.zip
Notes
Diffstat (limited to 'devel/fpc-fv')
-rw-r--r--devel/fpc-fv/Makefile75
-rw-r--r--devel/fpc-fv/distinfo6
-rw-r--r--devel/fpc-fv/pkg-descr3
-rw-r--r--devel/fpc-fv/pkg-plist137
4 files changed, 129 insertions, 92 deletions
diff --git a/devel/fpc-fv/Makefile b/devel/fpc-fv/Makefile
index 540e2be52b16..f7b6f38e1e44 100644
--- a/devel/fpc-fv/Makefile
+++ b/devel/fpc-fv/Makefile
@@ -5,44 +5,57 @@
# $FreeBSD$
#
-PORTNAME= fvision
-PORTVERSION= 1.0.10
-CATEGORIES= devel
-MASTER_SITES= http://www.borgsdemons.com/distfiles/
+PORTNAME= fv
+PORTVERSION= 2.0.2
+CATEGORIES= devel 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
PKGNAMEPREFIX= fpc-
+DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
+EXTRACT_SUFX= .tar
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= acardenas@bsd.org.pe
COMMENT= FreeVision is a Free Pascal unit for Delphi support
-BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
-USE_GMAKE= yes
+EXAMPLESDIR= share/examples/${PKGNAMEPREFIX}${PORTVERSION}
ONLY_FOR_ARCHS= i386
+NO_BUILD= yes
-.include <bsd.port.pre.mk>
-
-PLIST_SUB+= PORTVERSION=${PORTVERSION}
+BUILDNAME= i386-freebsd
+PLIST_SUB+= PORTVERSION=${PORTVERSION} \
+ BUILDNAME=${BUILDNAME}
-MAKE_ENV+= PATH=${LOCALBASE}/bin:$$PATH \
- FPC=${LOCALBASE}/bin/ppc386 \
- INSTALL_BASEDIR=${PREFIX}/lib/fpc/${PORTVERSION} \
- INSTALL_BINDIR=${PREFIX}/bin \
- GCCLIBDIR=/usr/lib \
- RELEASE=1
+do-extract:
+# unpack distribution
+ @${MKDIR} ${WRKSRC}
+ @${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
+ --directory ${WRKSRC}
+ @${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
+ --directory ${WRKSRC}
-post-patch:
-# change to alter amount of optimization
- @${FIND} ${WRKDIR}/fvision -name "Makefile*" | ${XARGS} \
- ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g'
-
-do-build:
- @${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKDIR}/fvision all
+# unpack binary and fv distribution
+ @${MKDIR} ${WRKSRC}/${PORTNAME}
+ @${TAR} zxf ${WRKSRC}/units-${PORTNAME}.${BUILDNAME}.tar.gz \
+ --directory ${WRKSRC}/${PORTNAME}
do-install:
- @${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKDIR}/fvision install
- cd ${WRKDIR}/fvision && ${INSTALL_DATA} \
- asciitab.o asciitab.ppu \
- ${PREFIX}/lib/fpc/${PORTVERSION}/units/freebsd/fv
-
-.include <bsd.port.post.mk>
+.for DIRE in lib
+ @cd ${WRKSRC}/${PORTNAME}/${DIRE} && \
+ ${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/${DIRE}/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_SCRIPT} "{}" "${PREFIX}/${DIRE}/{}" \;
+.endfor
+
+post-install:
+.if !defined (NOPORTDOCS)
+ @cd ${WRKSRC}/${PORTNAME}/share && \
+ ${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/fpc-fv/distinfo b/devel/fpc-fv/distinfo
index d6c465f1b303..80f3f200b2ed 100644
--- a/devel/fpc-fv/distinfo
+++ b/devel/fpc-fv/distinfo
@@ -1,3 +1,3 @@
-MD5 (fvision-1.0.10.tar.gz) = c1690f71d00576a290795e264fd6ffc0
-SHA256 (fvision-1.0.10.tar.gz) = fb5326b832f1b693487dd35893322f016b59bf3e87b363ba75f5197ede34aa4d
-SIZE (fvision-1.0.10.tar.gz) = 276453
+MD5 (fpc-2.0.2.i386-freebsd.tar) = e1f834f445b0f2313f41ed417a28fb1c
+SHA256 (fpc-2.0.2.i386-freebsd.tar) = 906f002dfdbdfc3380f5a66b93d68debdbb68bba65b9db0590a93f548fb9f528
+SIZE (fpc-2.0.2.i386-freebsd.tar) = 22517760
diff --git a/devel/fpc-fv/pkg-descr b/devel/fpc-fv/pkg-descr
index dcd084b86cc7..6c164506bc79 100644
--- a/devel/fpc-fv/pkg-descr
+++ b/devel/fpc-fv/pkg-descr
@@ -3,6 +3,3 @@ a 32-bit Turbo Pascal/Delphi compatible compiler. This unit
provides some of the interfaces in Delphi Vision.
WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211@uidaho.edu>
diff --git a/devel/fpc-fv/pkg-plist b/devel/fpc-fv/pkg-plist
index 2dae188d5473..9f6b3a5294fd 100644
--- a/devel/fpc-fv/pkg-plist
+++ b/devel/fpc-fv/pkg-plist
@@ -1,55 +1,82 @@
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/Package.fpc
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/app.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/app.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/asciitab.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/asciitab.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/callspec.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/callspec.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/colortxt.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/colortxt.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/dialogs.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/dialogs.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/drivers.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/drivers.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/editors.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/editors.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fileio.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fileio.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fvcommon.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fvcommon.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/fvconsts.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/gadgets.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/gadgets.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/gfvgraph.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/gfvgraph.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/histlist.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/histlist.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/inplong.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/inplong.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/memory.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/memory.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/menus.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/menus.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/msgbox.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/msgbox.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/resource.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/resource.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/statuses.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/statuses.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/stddlg.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/stddlg.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/sysmsg.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/sysmsg.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/tabs.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/tabs.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/time.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/time.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/validate.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/validate.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/views.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/fv/views.ppu
-@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/fv
-@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd
-@dirrm lib/fpc/%%PORTVERSION%%/units
-@dirrm lib/fpc/%%PORTVERSION%%
-@dirrm lib/fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/Package.fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/app.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/colortxt.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/dialogs.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/drivers.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/editors.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/fvcommon.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/fvconsts.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/gadgets.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/histlist.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/inplong.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/memory.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/menus.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/msgbox.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/resource.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/statuses.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/stddlg.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/tabs.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/time.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/validate.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/views.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/sysmsg.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/asciitab.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/timeddlg.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/app.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/colortxt.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/dialogs.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/drivers.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/editors.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/fvcommon.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/fvconsts.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/gadgets.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/histlist.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/inplong.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/memory.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/menus.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/msgbox.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/resource.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/statuses.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/stddlg.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/tabs.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/time.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/validate.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/views.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/sysmsg.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/asciitab.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/timeddlg.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpapp.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpcolortxt.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpdialogs.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpdrivers.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpeditors.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpfvcommon.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpfvconsts.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpgadgets.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libphistlist.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpinplong.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpmemory.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpmenus.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpmsgbox.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpresource.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpstatuses.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpstddlg.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libptabs.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libptime.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpvalidate.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpviews.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpsysmsg.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpasciitab.a
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libptimeddlg.a
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/tfileio.pas
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/testapp.pas
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/platform.inc
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/Makefile.fpc
+%%PORTDOCS%%%%EXAMPLESDIR%%/fv/Makefile
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/fv
+%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%
+@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv
+@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
+@dirrmtry lib/fpc/%%PORTVERSION%%/units
+@dirrmtry lib/fpc/%%PORTVERSION%%
+@dirrmtry lib/fpc