aboutsummaryrefslogtreecommitdiff
path: root/deskutils/dailystrips
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-02-25 00:38:18 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-02-25 00:38:18 +0000
commit3fc9ac2caf565a656d73cfeebb5e0e190b2d1991 (patch)
treeedf82d200f504bbf7952a5931725030eb7a4ce45 /deskutils/dailystrips
parentf293be94dfd6c5ac182ca92e6b4c7b57ea25f887 (diff)
downloadports-3fc9ac2caf565a656d73cfeebb5e0e190b2d1991.tar.gz
ports-3fc9ac2caf565a656d73cfeebb5e0e190b2d1991.zip
- revert downgrade in r312750, add PORTEPOCH
- while here convert to optionsNG for DOCS, add LICENSE - add portscout limitation for production version PR: 176395 Submitted by: kritek@gmail.com
Notes
Notes: svn path=/head/; revision=312895
Diffstat (limited to 'deskutils/dailystrips')
-rw-r--r--deskutils/dailystrips/Makefile28
-rw-r--r--deskutils/dailystrips/distinfo4
2 files changed, 18 insertions, 14 deletions
diff --git a/deskutils/dailystrips/Makefile b/deskutils/dailystrips/Makefile
index f784480903a5..497c699a253a 100644
--- a/deskutils/dailystrips/Makefile
+++ b/deskutils/dailystrips/Makefile
@@ -2,7 +2,8 @@
# $FreeBSD$
PORTNAME= dailystrips
-PORTVERSION= 1.1.0
+PORTVERSION= 1.0.28
+PORTEPOCH= 1
CATEGORIES= deskutils www
MASTER_SITES= SF
@@ -18,29 +19,32 @@ NO_BUILD= yes
USE_PERL5= yes
PORTDOCS= *
-PLIST_FILES= bin/getstrips.pl \
- bin/makepage.pl \
- bin/shared_functions.pl \
+PLIST_FILES= bin/dailystrips \
+ bin/dailystrips-clean \
+ bin/dailystrips-update \
share/dailystrips/strips.def
PLIST_DIRS= share/dailystrips
-post-patch-script:
+PORTSCOUT= limit:1.0.*$$
+
+post-patch:
@${REINPLACE_CMD} 's|^#!/usr/bin/perl|#!${PERL}|; \
- s!strips.def!${DATADIR}/strips.def!; \
- s!robotman!!; \
- s!shared_functions.pl!${PREFIX}/bin/shared_functions.pl!' \
- ${WRKSRC}/getstrips.pl ${WRKSRC}/makepage.pl \
- ${WRKSRC}/strips.def
+ s!/usr/share/dailystrips/strips.def!${DATADIR}/strips.def!' \
+ ${WRKSRC}/dailystrips ${WRKSRC}/dailystrips-clean \
+ ${WRKSRC}/dailystrips-update
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips-clean ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips-update ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/strips.def ${DATADIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
-.for file in README README.DEFS README.LOCAL archive.html
+.for file in README README.DEFS README.LOCAL README.dailystrips-clean \
+ README.dailystrips-update
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/deskutils/dailystrips/distinfo b/deskutils/dailystrips/distinfo
index 92b8441f7582..145041d754e7 100644
--- a/deskutils/dailystrips/distinfo
+++ b/deskutils/dailystrips/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dailystrips-1.1.0.tar.gz) = 4de31c6e7e9fecd634f35a5a407dbc266f0f29cf79e391459697bea8e4751631
-SIZE (dailystrips-1.1.0.tar.gz) = 29740
+SHA256 (dailystrips-1.0.28.tar.gz) = dc54d8559d378fb4115a5605cff5d0e45a69f6ed1539f4aa31d6e13231c362ca
+SIZE (dailystrips-1.0.28.tar.gz) = 58713