diff options
-rw-r--r-- | deskutils/dailystrips/Makefile | 28 | ||||
-rw-r--r-- | deskutils/dailystrips/distinfo | 4 |
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 |