aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-SQLite-Work
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-09-20 05:30:21 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-09-20 05:30:21 +0000
commit30a5922d993903165ae627151d7f7b7b281a0209 (patch)
tree7c4bfc673896f69cafda2af01d16fd26c673d896 /databases/p5-SQLite-Work
parent75880be50ff880640f9f6cb6c635ab49a193abeb (diff)
downloadports-30a5922d993903165ae627151d7f7b7b281a0209.tar.gz
ports-30a5922d993903165ae627151d7f7b7b281a0209.zip
Notes
Diffstat (limited to 'databases/p5-SQLite-Work')
-rw-r--r--databases/p5-SQLite-Work/Makefile28
-rw-r--r--databases/p5-SQLite-Work/distinfo6
-rw-r--r--databases/p5-SQLite-Work/pkg-plist8
3 files changed, 25 insertions, 17 deletions
diff --git a/databases/p5-SQLite-Work/Makefile b/databases/p5-SQLite-Work/Makefile
index e131b6ed7722..e5a5f79f74e9 100644
--- a/databases/p5-SQLite-Work/Makefile
+++ b/databases/p5-SQLite-Work/Makefile
@@ -6,37 +6,45 @@
#
PORTNAME= SQLite-Work
-PORTVERSION= 0.05
+PORTVERSION= 0.09
CATEGORIES= databases www perl5
MASTER_SITES= http://www.cpan.org/authors/id/R/RU/RUBYKAT/
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= clsung@FreeBSD.org
COMMENT= Report on and update an SQLite database
-DEPRECATED= no longer available from mastersite; 0.08 is current
-EXPIRATION_DATE= 2006-11-04
-
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \
- ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
- ${SITE_PERL}/Getopt/ArgvFile.pm:${PORTSDIR}/devel/p5-Getopt-ArgvFile
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/Text/NeatTemplate.pm:${PORTSDIR}/textproc/p5-Text-NeatTemplate \
+ p5-Getopt-ArgvFile>=1.10:${PORTSDIR}/devel/p5-Getopt-ArgvFile
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_MODBUILD= yes
MAN3= SQLite::Work::Mail.3 \
SQLite::Work.3 \
- SQLite::Work::Template.3 \
SQLite::Work::CGI.3
MAN1= sqlw_mail.1 \
sqlw_import.1 \
sqlreport.1
+post-patch:
+ ${CHMOD} u+w ${WRKSRC}/Makefile.PL
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif
+.if ${PERL_LEVEL} < 500801
+RUN_DEPENDS+= p5-Getopt-Long>=2.34:${PORTSDIR}/devel/p5-Getopt-Long
+.endif
+
+.if ${PERL_LEVEL} < 500807
+RUN_DEPENDS+= p5-CGI.pm>=3.10:${PORTSDIR}/www/p5-CGI.pm
+.endif
+
.include <bsd.port.post.mk>
diff --git a/databases/p5-SQLite-Work/distinfo b/databases/p5-SQLite-Work/distinfo
index de75ccd89237..c476d21c5da4 100644
--- a/databases/p5-SQLite-Work/distinfo
+++ b/databases/p5-SQLite-Work/distinfo
@@ -1,3 +1,3 @@
-MD5 (SQLite-Work-0.05.tar.gz) = 47d0de53586d7a73a440ddc54feda440
-SHA256 (SQLite-Work-0.05.tar.gz) = 64d2f4cda0ea8ee67a9dea976391bd54d2f04a6fe2774ec92a86af6eadf56336
-SIZE (SQLite-Work-0.05.tar.gz) = 177782
+MD5 (SQLite-Work-0.09.tar.gz) = 026d660c37abb0f7c73c61dc0d95fa8c
+SHA256 (SQLite-Work-0.09.tar.gz) = 05e4128f8e162b674f027514e07621165bcaa9056b96ac9f85399b10217b564b
+SIZE (SQLite-Work-0.09.tar.gz) = 174326
diff --git a/databases/p5-SQLite-Work/pkg-plist b/databases/p5-SQLite-Work/pkg-plist
index f9f76574f2d9..9d9412d23196 100644
--- a/databases/p5-SQLite-Work/pkg-plist
+++ b/databases/p5-SQLite-Work/pkg-plist
@@ -1,9 +1,9 @@
-bin/sqlreport
-bin/sqlw_mail
-bin/sqlw_import
+@comment $FreeBSD$
%%SITE_PERL%%/SQLite/Work.pm
-%%SITE_PERL%%/SQLite/Work/Template.pm
%%SITE_PERL%%/SQLite/Work/CGI.pm
%%SITE_PERL%%/SQLite/Work/Mail.pm
+bin/sqlreport
+bin/sqlw_import
+bin/sqlw_mail
@dirrmtry %%SITE_PERL%%/SQLite/Work
@dirrmtry %%SITE_PERL%%/SQLite