svn commit: r312750 - head/deskutils/dailystrips
Jason Helfman
jgh at FreeBSD.org
Fri Feb 22 04:29:47 UTC 2013
Author: jgh
Date: Fri Feb 22 04:29:46 2013
New Revision: 312750
URL: http://svnweb.freebsd.org/changeset/ports/312750
Log:
- update to 1.1.0
- while here trim histoical header, drop pkg-plist, add license
and convert to optionsNG for DOCS
Reported by: portscout@
Deleted:
head/deskutils/dailystrips/pkg-plist
Modified:
head/deskutils/dailystrips/Makefile
head/deskutils/dailystrips/distinfo
Modified: head/deskutils/dailystrips/Makefile
==============================================================================
--- head/deskutils/dailystrips/Makefile Fri Feb 22 03:26:05 2013 (r312749)
+++ head/deskutils/dailystrips/Makefile Fri Feb 22 04:29:46 2013 (r312750)
@@ -1,41 +1,46 @@
-# New ports collection makefile for: dailystrips
-# Date created: 13 July 2001
-# Whom: Pete Fritchman <petef at databits.net>
-#
+# Created by: Pete Fritchman <petef at databits.net>
# $FreeBSD$
-#
PORTNAME= dailystrips
-PORTVERSION= 1.0.28
-PORTREVISION= 2
+PORTVERSION= 1.1.0
CATEGORIES= deskutils www
MASTER_SITES= SF
MAINTAINER= ports at 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
Modified: head/deskutils/dailystrips/distinfo
==============================================================================
--- head/deskutils/dailystrips/distinfo Fri Feb 22 03:26:05 2013 (r312749)
+++ head/deskutils/dailystrips/distinfo Fri Feb 22 04:29:46 2013 (r312750)
@@ -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
More information about the svn-ports-head
mailing list