1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- update to 1.1.0

- while here trim histoical header, drop pkg-plist, add license
  and convert to optionsNG for DOCS

Reported by: portscout@
This commit is contained in:
Jason Helfman 2013-02-22 04:29:46 +00:00
parent 6b661fda22
commit fa2961ca4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312750
3 changed files with 24 additions and 30 deletions

View File

@ -1,41 +1,46 @@
# New ports collection makefile for: dailystrips
# Date created: 13 July 2001
# Whom: Pete Fritchman <petef@databits.net>
#
# Created by: Pete Fritchman <petef@databits.net>
# $FreeBSD$
#
PORTNAME= dailystrips
PORTVERSION= 1.0.28
PORTREVISION= 2
PORTVERSION= 1.1.0
CATEGORIES= deskutils www
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to download or view your favorite online comic strips daily
LICENSE= GPLv2
RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate
NO_BUILD= yes
USE_PERL5= yes
post-patch:
PORTDOCS= *
PLIST_FILES= bin/getstrips.pl \
bin/makepage.pl \
bin/shared_functions.pl \
share/dailystrips/strips.def
PLIST_DIRS= share/dailystrips
post-patch-script:
@${REINPLACE_CMD} 's|^#!/usr/bin/perl|#!${PERL}|; \
s!/usr/share/dailystrips/strips.def!${DATADIR}/strips.def!' \
${WRKSRC}/dailystrips ${WRKSRC}/dailystrips-clean \
${WRKSRC}/dailystrips-update
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
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dailystrips ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/dailystrips-clean ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/dailystrips-update ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/strips.def ${DATADIR}
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in README README.DEFS README.LOCAL README.dailystrips-clean \
README.dailystrips-update
.for file in README README.DEFS README.LOCAL archive.html
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

View File

@ -1,2 +1,2 @@
SHA256 (dailystrips-1.0.28.tar.gz) = dc54d8559d378fb4115a5605cff5d0e45a69f6ed1539f4aa31d6e13231c362ca
SIZE (dailystrips-1.0.28.tar.gz) = 58713
SHA256 (dailystrips-1.1.0.tar.gz) = 4de31c6e7e9fecd634f35a5a407dbc266f0f29cf79e391459697bea8e4751631
SIZE (dailystrips-1.1.0.tar.gz) = 29740

View File

@ -1,11 +0,0 @@
bin/dailystrips
bin/dailystrips-clean
bin/dailystrips-update
share/dailystrips/strips.def
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.DEFS
%%PORTDOCS%%%%DOCSDIR%%/README.LOCAL
%%PORTDOCS%%%%DOCSDIR%%/README.dailystrips-clean
%%PORTDOCS%%%%DOCSDIR%%/README.dailystrips-update
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/dailystrips