summaryrefslogtreecommitdiff
path: root/databases/fpc-mysql
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-06-21 16:52:57 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-06-21 16:52:57 +0000
commitb06153abd6cff3313971e58ae665e96b0bf447bf (patch)
treed671f1e410fe2766e67c77bc1573fd986720b550 /databases/fpc-mysql
parentMove fpc-gtk and fpc-gtk2 from graphics to x11-toolkits and change fpc-units (diff)
- Update fpc to 2.0.2
PR: 98628, 98629, 98630, 98632, 98641, 98646, 98650, 98652, 98654, 98656, 98657, 98658, 98720, 98724 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
Notes
Notes: svn path=/head/; revision=165965
Diffstat (limited to 'databases/fpc-mysql')
-rw-r--r--databases/fpc-mysql/Makefile62
-rw-r--r--databases/fpc-mysql/distinfo3
-rw-r--r--databases/fpc-mysql/pkg-descr8
-rw-r--r--databases/fpc-mysql/pkg-plist12
4 files changed, 6 insertions, 79 deletions
diff --git a/databases/fpc-mysql/Makefile b/databases/fpc-mysql/Makefile
index 4dca6de5994e..b79a628680a0 100644
--- a/databases/fpc-mysql/Makefile
+++ b/databases/fpc-mysql/Makefile
@@ -5,66 +5,16 @@
# $FreeBSD$
#
-PORTNAME= mysql
-PORTVERSION= 1.0.10
CATEGORIES= databases lang
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= freepascal
-PKGNAMEPREFIX= fpc-
-DISTNAME= fpc-${PORTVERSION}.ELF
-EXTRACT_SUFX= .tar
+PKGNAMESUFFIX= -mysql
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= acardenas@bsd.org.pe
COMMENT= Free Pascal interface to MySQL
-BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
-.include <bsd.port.pre.mk>
+USE_MYSQL= yes
-.if ${OSVERSION} < 470000
-EXTRACT_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
-TAR= ${LOCALBASE}/bin/gtar
-.endif
-USE_GMAKE= yes
-ONLY_FOR_ARCHS= i386
+MASTERDIR= ${.CURDIR}/../../lang/fpc
-PLIST_SUB+= INSTDIR=lib/fpc/${PORTVERSION}/units/freebsd/mysql \
- PORTVERSION=${PORTVERSION}
-
-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}
-# unpack sources distribution
- @${MKDIR} ${WRKSRC}/sources
- @${TAR} xf ${WRKSRC}/sources.tar --directory ${WRKSRC}/sources
-# further extract base sources
-#
-# mysql sources
- @${TAR} zxf ${WRKSRC}/sources/unitsmysqlsrc.tar.gz \
- --directory ${WRKSRC}
-
-post-patch:
-# change to alter amount of optimization
- @${FIND} ${WRKSRC}/share/src/fpc-${PORTVERSION} -name \
- "Makefile*" | ${XARGS} ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g'
-
-do-build:
- @${SETENV} ${MAKE_ENV} ${GMAKE} -C \
- ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/mysql \
- all
-
-do-install:
- @${SETENV} ${MAKE_ENV} ${GMAKE} -C \
- ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/mysql \
- install
-
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/fpc-mysql/distinfo b/databases/fpc-mysql/distinfo
deleted file mode 100644
index fb00975ada0c..000000000000
--- a/databases/fpc-mysql/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667
-SHA256 (fpc-1.0.10.ELF.tar) = 318bab9d1269dffcc5fe737d224fca939c5f130f34f12d166319b3d1ba776bfb
-SIZE (fpc-1.0.10.ELF.tar) = 17448960
diff --git a/databases/fpc-mysql/pkg-descr b/databases/fpc-mysql/pkg-descr
deleted file mode 100644
index 51d99e67fe74..000000000000
--- a/databases/fpc-mysql/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Mysql is part of the base packages of Free Pascal, a 32-bit
-Turbo Pascal/Delphi compatible compiler. Mysql provides an
-interface to MySQL databases.
-
-WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211@uidaho.edu>
diff --git a/databases/fpc-mysql/pkg-plist b/databases/fpc-mysql/pkg-plist
deleted file mode 100644
index fe76ecb3db1d..000000000000
--- a/databases/fpc-mysql/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-%%INSTDIR%%/Package.fpc
-%%INSTDIR%%/mysql.o
-%%INSTDIR%%/mysql.ppu
-%%INSTDIR%%/mysql_com.o
-%%INSTDIR%%/mysql_com.ppu
-%%INSTDIR%%/mysql_version.o
-%%INSTDIR%%/mysql_version.ppu
-@dirrm %%INSTDIR%%
-@dirrmtry lib/fpc/%%PORTVERSION%%/units/freebsd
-@dirrmtry lib/fpc/%%PORTVERSION%%/units
-@dirrmtry lib/fpc/%%PORTVERSION%%
-@dirrmtry lib/fpc