summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deskutils/Makefile1
-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
6 files changed, 58 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 26253b76e91b..10a1275a7632 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -8,6 +8,7 @@
SUBDIR += bulb
SUBDIR += cal
SUBDIR += cbb
+ SUBDIR += dailystrips
SUBDIR += gaddr
SUBDIR += gcal
SUBDIR += gemcal
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