diff --git a/databases/p5-DBD-mysql4/Makefile b/databases/p5-DBD-mysql4/Makefile new file mode 100644 --- /dev/null +++ b/databases/p5-DBD-mysql4/Makefile @@ -0,0 +1,41 @@ +PORTNAME= DBD-mysql +PORTVERSION= 4.052 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:DVEEDEN +PKGNAMEPREFIX= p5- +PKGNAMESUFFIX= 4 + +MAINTAINER= sirdice@gmail.com +COMMENT= MySQL driver for the Perl5 Database Interface (DBI) +WWW= https://metacpan.org/release/DBD-mysql + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} \ + p5-Devel-CheckLib>=1.09:devel/p5-Devel-CheckLib +RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI +TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep + +USES= compiler:c11 mysql perl5 +USE_PERL5= configure + +CONFIGURE_ARGS= ${_CONFIGURE_ARGS_${CHOSEN_COMPILER_TYPE}} +_CONFIGURE_ARGS_gcc= --libs="-L${PREFIX}/lib/gcc${GCC_DEFAULT} `mysql_config --libs | ${SED} 's/-pthread //'`" + +CONFLICTS_INSTALL= p5-DBD-mysql + +OPTIONS_DEFINE= SSL +OPTIONS_DEFAULT= SSL + +SSL_RUN_DEPENDS= p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay +SSL_USES= ssl +SSL_CONFIGURE_ON= --ssl +SSL_CONFIGURE_OFF= --nossl + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/mysql/mysql.so + +.include diff --git a/databases/p5-DBD-mysql4/distinfo b/databases/p5-DBD-mysql4/distinfo new file mode 100644 --- /dev/null +++ b/databases/p5-DBD-mysql4/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1711540853 +SHA256 (DBD-mysql-4.052.tar.gz) = a83f57af7817787de0ef56fb15fdfaf4f1c952c8f32ff907153b66d2da78ff5b +SIZE (DBD-mysql-4.052.tar.gz) = 162074 diff --git a/databases/p5-DBD-mysql4/pkg-descr b/databases/p5-DBD-mysql4/pkg-descr new file mode 100644 --- /dev/null +++ b/databases/p5-DBD-mysql4/pkg-descr @@ -0,0 +1,6 @@ +DBD::mysql is the Perl5 Database Interface driver for the MySQL +database. In other words: DBD::mysql is an interface between the Perl +programming language and the MySQL programming API that comes with the +MySQL relational database management system. Most functions provided by +this programming API are supported. Some rarely used functions are +missing, mainly because noone ever requested them. diff --git a/databases/p5-DBD-mysql4/pkg-plist b/databases/p5-DBD-mysql4/pkg-plist new file mode 100644 --- /dev/null +++ b/databases/p5-DBD-mysql4/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_ARCH%%/Bundle/DBD/mysql.pm +%%SITE_ARCH%%/DBD/mysql.pm +%%SITE_ARCH%%/DBD/mysql/GetInfo.pm +%%SITE_ARCH%%/DBD/mysql/INSTALL.pod +%%SITE_ARCH%%/auto/DBD/mysql/mysql.so +%%PERL5_MAN3%%/Bundle::DBD::mysql.3.gz +%%PERL5_MAN3%%/DBD::mysql.3.gz +%%PERL5_MAN3%%/DBD::mysql::INSTALL.3.gz