aboutsummaryrefslogtreecommitdiff
path: root/databases
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
parentacca2dab6cf8bdfcdf61189c830d87fae34e8118 (diff)
downloadports-b06153abd6cff3313971e58ae665e96b0bf447bf.tar.gz
ports-b06153abd6cff3313971e58ae665e96b0bf447bf.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/fpc-ibase/Makefile63
-rw-r--r--databases/fpc-ibase/distinfo3
-rw-r--r--databases/fpc-ibase/pkg-descr8
-rw-r--r--databases/fpc-ibase/pkg-plist10
-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
-rw-r--r--databases/fpc-odbc/Makefile64
-rw-r--r--databases/fpc-odbc/distinfo3
-rw-r--r--databases/fpc-odbc/pkg-descr8
-rw-r--r--databases/fpc-odbc/pkg-plist4
-rw-r--r--databases/fpc-oracle/Makefile68
-rw-r--r--databases/fpc-oracle/distinfo3
-rw-r--r--databases/fpc-oracle/files/patch-share::src::fpc-1.0.10::packages::base::oracle::Makefile.fpc10
-rw-r--r--databases/fpc-oracle/pkg-descr8
-rw-r--r--databases/fpc-oracle/pkg-plist3
-rw-r--r--databases/fpc-postgres/Makefile63
-rw-r--r--databases/fpc-postgres/distinfo3
-rw-r--r--databases/fpc-postgres/pkg-descr8
-rw-r--r--databases/fpc-postgres/pkg-plist6
21 files changed, 31 insertions, 389 deletions
diff --git a/databases/fpc-ibase/Makefile b/databases/fpc-ibase/Makefile
index b03ee891922c..01d0704a2302 100644
--- a/databases/fpc-ibase/Makefile
+++ b/databases/fpc-ibase/Makefile
@@ -5,66 +5,15 @@
# $FreeBSD$
#
-PORTNAME= ibase
-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= -ibase
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= acardenas@bsd.org.pe
COMMENT= Free Pascal interface to interbase
-BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
+LIB_DEPENDS= fbembed.1:${PORTSDIR}/databases/firebird-client
-.include <bsd.port.pre.mk>
+MASTERDIR= ${.CURDIR}/../../lang/fpc
-.if ${OSVERSION} < 470000
-EXTRACT_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
-TAR= ${LOCALBASE}/bin/gtar
-.endif
-USE_GMAKE= yes
-ONLY_FOR_ARCHS= i386
-
-PLIST_SUB+= INSTDIR=lib/fpc/${PORTVERSION}/units/freebsd/ibase \
- 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
-#
-# interbase sources
- @${TAR} zxf ${WRKSRC}/sources/unitsibasesrc.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/ibase \
- all
-
-do-install:
- @${SETENV} ${MAKE_ENV} ${GMAKE} -C \
- ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/ibase \
- install
-
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/fpc-ibase/distinfo b/databases/fpc-ibase/distinfo
deleted file mode 100644
index fb00975ada0c..000000000000
--- a/databases/fpc-ibase/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-ibase/pkg-descr b/databases/fpc-ibase/pkg-descr
deleted file mode 100644
index b905fb33d2b7..000000000000
--- a/databases/fpc-ibase/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Ibase is part of the base packages of Free Pascal, a 32-bit
-Turbo Pascal/Delphi compatible compiler. Ibase provides an
-interface to Interbase databases.
-
-WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211@uidaho.edu>
diff --git a/databases/fpc-ibase/pkg-plist b/databases/fpc-ibase/pkg-plist
deleted file mode 100644
index 3a31848cbf55..000000000000
--- a/databases/fpc-ibase/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-%%INSTDIR%%/Package.fpc
-%%INSTDIR%%/ibase40.o
-%%INSTDIR%%/ibase40.ppu
-%%INSTDIR%%/ibase60.o
-%%INSTDIR%%/ibase60.ppu
-@dirrm %%INSTDIR%%
-@dirrmtry lib/fpc/%%PORTVERSION%%/units/freebsd
-@dirrmtry lib/fpc/%%PORTVERSION%%/units
-@dirrmtry lib/fpc/%%PORTVERSION%%
-@dirrmtry lib/fpc
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
diff --git a/databases/fpc-odbc/Makefile b/databases/fpc-odbc/Makefile
index fbccbc67b901..f8b392166a0c 100644
--- a/databases/fpc-odbc/Makefile
+++ b/databases/fpc-odbc/Makefile
@@ -5,67 +5,15 @@
# $FreeBSD$
#
-PORTNAME= odbc
-PORTVERSION= 1.0.10
-PORTREVISION= 1
-CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= freepascal
-PKGNAMEPREFIX= fpc-
-DISTNAME= fpc-${PORTVERSION}.ELF
-EXTRACT_SUFX= .tar
+CATEGORIES= databases lang
+PKGNAMESUFFIX= -odbc
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= acardenas@bsd.org.pe
COMMENT= Free Pascal interface to ODBC
-.include <bsd.port.pre.mk>
-
+RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
LIB_DEPENDS= odbc.1:${PORTSDIR}/databases/unixODBC
-BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
-RUN_DEPENDS= ${BUILD_DEPENDS}
-.if ${OSVERSION} >= 500000
-LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
-.endif
-.if ${OSVERSION} < 470000
-EXTRACT_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
-TAR= ${LOCALBASE}/bin/gtar
-.endif
-USE_GMAKE= yes
-ONLY_FOR_ARCHS= i386
-
-PLIST_SUB+= 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
-#
-# odbc sources
- @${TAR} zxf ${WRKSRC}/sources/unitsodbcsrc.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:
- cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/odbc && \
- ${GMAKE} ${MAKE_ENV} all
-do-install:
- cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/odbc && \
- ${GMAKE} ${MAKE_ENV} install
+MASTERDIR= ${.CURDIR}/../../lang/fpc
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/fpc-odbc/distinfo b/databases/fpc-odbc/distinfo
deleted file mode 100644
index fb00975ada0c..000000000000
--- a/databases/fpc-odbc/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-odbc/pkg-descr b/databases/fpc-odbc/pkg-descr
deleted file mode 100644
index e88dc6794d31..000000000000
--- a/databases/fpc-odbc/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Odbc is part of the base packages of Free Pascal, a 32-bit
-Turbo Pascal/Delphi compatible compiler. Odbc provides an
-interface to ODBC.
-
-WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211@uidaho.edu>
diff --git a/databases/fpc-odbc/pkg-plist b/databases/fpc-odbc/pkg-plist
deleted file mode 100644
index 095c7bcb3c64..000000000000
--- a/databases/fpc-odbc/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-lib/fpc/%%PORTVERSION%%/units/freebsd/odbc/Package.fpc
-lib/fpc/%%PORTVERSION%%/units/freebsd/odbc/odbcsql.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/odbc/odbcsql.ppu
-@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/odbc
diff --git a/databases/fpc-oracle/Makefile b/databases/fpc-oracle/Makefile
index 11ab8768a07d..afab56fc3a54 100644
--- a/databases/fpc-oracle/Makefile
+++ b/databases/fpc-oracle/Makefile
@@ -5,70 +5,16 @@
# $FreeBSD$
#
-PORTNAME= oracle
-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= -oracle
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= acardenas@bsd.org.pe
COMMENT= Free Pascal interface to Oracle
-.include <bsd.port.pre.mk>
+RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
+ ${ORACLE8_LIB}/env_rdbms.mk:${PORTSDIR}/databases/oracle8-client
-ORACLE7_LIB= ${LOCALBASE}/oracle7/rdbms/lib
-BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
- ${ORACLE7_LIB}/libnlsrtl3.a:${PORTSDIR}/databases/oracle7-client
-RUN_DEPENDS= ${BUILD_DEPENDS}
-.if ${OSVERSION} >= 500000
-LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
-.endif
-.if ${OSVERSION} < 470000
-EXTRACT_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
-TAR= ${LOCALBASE}/bin/gtar
-.endif
-USE_GMAKE= yes
-ONLY_FOR_ARCHS= i386
+ORACLE8_LIB= ${LOCALBASE}/oracle8-client/rdbms/lib
+MASTERDIR= ${.CURDIR}/../../lang/fpc
-PLIST_SUB+= 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
-#
-# postgres sources
- @${TAR} zxf ${WRKSRC}/sources/unitsoraclesrc.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'
-
- ${REINPLACE_CMD} 's|/usr/local/oracle8cli/lib|${ORACLE7_LIB}|g' \
- ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/oracle/Makefile.fpc
-
-do-build:
- cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/oracle && \
- ${GMAKE} ${MAKE_ENV} all
-
-do-install:
- cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/oracle && \
- ${GMAKE} ${MAKE_ENV} install
-
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/fpc-oracle/distinfo b/databases/fpc-oracle/distinfo
deleted file mode 100644
index fb00975ada0c..000000000000
--- a/databases/fpc-oracle/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-oracle/files/patch-share::src::fpc-1.0.10::packages::base::oracle::Makefile.fpc b/databases/fpc-oracle/files/patch-share::src::fpc-1.0.10::packages::base::oracle::Makefile.fpc
deleted file mode 100644
index a2913d74f42f..000000000000
--- a/databases/fpc-oracle/files/patch-share::src::fpc-1.0.10::packages::base::oracle::Makefile.fpc
+++ /dev/null
@@ -1,10 +0,0 @@
---- share/src/fpc-1.0.10/packages/base/oracle/Makefile.fpc.bak Sun Apr 6 07:44:46 2003
-+++ share/src/fpc-1.0.10/packages/base/oracle/Makefile.fpc Thu Jan 8 22:16:08 2004
-@@ -21,5 +21,5 @@
-
- # in libdir variable must be path to libraries
- # libclntsh.*,libnlsrtl3.*
--#[compiler]
--#libdir=/usr/local/oracle8cli/lib
-+[compiler]
-+libdir=/usr/local/oracle8cli/lib
diff --git a/databases/fpc-oracle/pkg-descr b/databases/fpc-oracle/pkg-descr
deleted file mode 100644
index b2339e674843..000000000000
--- a/databases/fpc-oracle/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Oracle is part of the base packages of Free Pascal, a 32-bit
-Turbo Pascal/Delphi compatible compiler. Oracle provides an
-interface to Oracle databases.
-
-WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211@uidaho.edu>
diff --git a/databases/fpc-oracle/pkg-plist b/databases/fpc-oracle/pkg-plist
deleted file mode 100644
index 5f3c88c894d2..000000000000
--- a/databases/fpc-oracle/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-lib/fpc/%%PORTVERSION%%/units/freebsd/oracle/Package.fpc
-lib/fpc/%%PORTVERSION%%/units/freebsd/oracle/oraoci.ppu
-@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/oracle
diff --git a/databases/fpc-postgres/Makefile b/databases/fpc-postgres/Makefile
index 92389c661b15..2acd4f55f23c 100644
--- a/databases/fpc-postgres/Makefile
+++ b/databases/fpc-postgres/Makefile
@@ -5,67 +5,16 @@
# $FreeBSD$
#
-PORTNAME= postgres
-PORTVERSION= 1.0.10
-PORTREVISION= 1
-CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= freepascal
-PKGNAMEPREFIX= fpc-
-DISTNAME= fpc-${PORTVERSION}.ELF
-EXTRACT_SUFX= .tar
+CATEGORIES= databases lang
+PKGNAMESUFFIX= -postgres
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= acardenas@bsd.org.pe
COMMENT= Free Pascal interface to PostGreSQL
-.include <bsd.port.pre.mk>
+RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
USE_PGSQL= yes
-BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
-RUN_DEPENDS= ${BUILD_DEPENDS}
-.if ${OSVERSION} >= 500000
-LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
-.endif
-.if ${OSVERSION} < 470000
-EXTRACT_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
-TAR= ${LOCALBASE}/bin/gtar
-.endif
-USE_GMAKE= yes
-ONLY_FOR_ARCHS= i386
-PLIST_SUB+= PORTVERSION=${PORTVERSION}
+MASTERDIR= ${.CURDIR}/../../lang/fpc
-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
-#
-# postgres sources
- @${TAR} zxf ${WRKSRC}/sources/unitspostgressrc.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:
- cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/postgres && \
- ${GMAKE} ${MAKE_ENV} all
-
-do-install:
- cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/postgres && \
- ${GMAKE} ${MAKE_ENV} install
-
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/databases/fpc-postgres/distinfo b/databases/fpc-postgres/distinfo
deleted file mode 100644
index fb00975ada0c..000000000000
--- a/databases/fpc-postgres/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-postgres/pkg-descr b/databases/fpc-postgres/pkg-descr
deleted file mode 100644
index a3d5e3e7fd2d..000000000000
--- a/databases/fpc-postgres/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Postgres is part of the base packages of Free Pascal, a 32-bit
-Turbo Pascal/Delphi compatible compiler. Postgres provides an
-interface to PostGreSQL.
-
-WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211@uidaho.edu>
diff --git a/databases/fpc-postgres/pkg-plist b/databases/fpc-postgres/pkg-plist
deleted file mode 100644
index 2ee576a195d6..000000000000
--- a/databases/fpc-postgres/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/Package.fpc
-lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/dllist.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/dllist.ppu
-lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/postgres.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/postgres/postgres.ppu
-@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/postgres