- 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
This commit is contained in:
Jason Helfman 2013-02-25 00:38:18 +00:00
parent f293be94df
commit 3fc9ac2caf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312895
2 changed files with 18 additions and 14 deletions

View file

@ -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

View file

@ -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