summaryrefslogtreecommitdiff
path: root/deskutils/dailystrips
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-07-30 14:02:42 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-07-30 14:02:42 +0000
commit2e8e2db23c537719e504ac425f1348ec18dcb933 (patch)
tree86f42492749b602593c686a1c8d94e3a43fae235 /deskutils/dailystrips
parentUpdate to 20010730 with some enhancements. (diff)
Add dailystrips 1.0.14,
utility to download or view your favorite online comic strips daily. PR: 28960 Submitted by: Pete Fritchman <petef@databits.net>
Notes
Notes: svn path=/head/; revision=45620
Diffstat (limited to 'deskutils/dailystrips')
-rw-r--r--deskutils/dailystrips/Makefile39
-rw-r--r--deskutils/dailystrips/distinfo1
-rw-r--r--deskutils/dailystrips/pkg-comment1
-rw-r--r--deskutils/dailystrips/pkg-descr9
-rw-r--r--deskutils/dailystrips/pkg-plist7
5 files changed, 57 insertions, 0 deletions
diff --git a/deskutils/dailystrips/Makefile b/deskutils/dailystrips/Makefile
new file mode 100644
index 000000000000..7c4c0efe1052
--- /dev/null
+++ b/deskutils/dailystrips/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: dailystrips
+# Date created: 13 July 2001
+# Whom: Pete Fritchman <petef@databits.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dailystrips
+PORTVERSION= 1.0.14
+CATEGORIES= deskutils www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= petef@databits.net
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
+
+NO_BUILD= yes
+USE_PERL5= yes
+
+post-patch:
+ @${PERL} -pi -e 's|^#!/usr/bin/perl|#!${PERL}|; \
+ s!%-e!%e!; \
+ s!join\(./.,\@base_dirparts.*!"${PREFIX}/share/dailystrips/strips.def"\;!' \
+ ${WRKSRC}/dailystrips.pl
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips.pl ${PREFIX}/bin/dailystrips
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/strips.def ${DATADIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in README README.DEFS README.LOCAL
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/deskutils/dailystrips/distinfo b/deskutils/dailystrips/distinfo
new file mode 100644
index 000000000000..f92e32a59ea6
--- /dev/null
+++ b/deskutils/dailystrips/distinfo
@@ -0,0 +1 @@
+MD5 (dailystrips-1.0.14.tar.gz) = aaef61f72a4ed844c6f48a9170fecdda
diff --git a/deskutils/dailystrips/pkg-comment b/deskutils/dailystrips/pkg-comment
new file mode 100644
index 000000000000..bc0cc38da948
--- /dev/null
+++ b/deskutils/dailystrips/pkg-comment
@@ -0,0 +1 @@
+Utility to download or view your favorite online comic strips daily
diff --git a/deskutils/dailystrips/pkg-descr b/deskutils/dailystrips/pkg-descr
new file mode 100644
index 000000000000..08c6e07b0eee
--- /dev/null
+++ b/deskutils/dailystrips/pkg-descr
@@ -0,0 +1,9 @@
+dailystrips is a utility to download your favorite online comic
+strips each day. What sets it apart from the rest is its
+"local" mode of operation, which automatically downloads strips
+for you.
+
+WWW: http://dailystrips.sourceforge.net/
+
+- Pete
+petef@databits.net
diff --git a/deskutils/dailystrips/pkg-plist b/deskutils/dailystrips/pkg-plist
new file mode 100644
index 000000000000..50549296110f
--- /dev/null
+++ b/deskutils/dailystrips/pkg-plist
@@ -0,0 +1,7 @@
+bin/dailystrips
+share/dailystrips/strips.def
+%%PORTDOCS%%share/doc/dailystrips/README
+%%PORTDOCS%%share/doc/dailystrips/README.DEFS
+%%PORTDOCS%%share/doc/dailystrips/README.LOCAL
+%%PORTDOCS%%@dirrm share/doc/dailystrips
+@dirrm share/dailystrips