diff options
author | jgh <jgh@FreeBSD.org> | 2013-02-25 08:38:18 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-02-25 08:38:18 +0800 |
commit | 468f4e3fbfaa13537c0f334d35abad29776d34b7 (patch) | |
tree | edf82d200f504bbf7952a5931725030eb7a4ce45 /deskutils/dailystrips/Makefile | |
parent | f73f34db7c95b9979776a8390bf60d7b955baf31 (diff) | |
download | freebsd-ports-gnome-468f4e3fbfaa13537c0f334d35abad29776d34b7.tar.gz freebsd-ports-gnome-468f4e3fbfaa13537c0f334d35abad29776d34b7.tar.zst freebsd-ports-gnome-468f4e3fbfaa13537c0f334d35abad29776d34b7.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
Diffstat (limited to 'deskutils/dailystrips/Makefile')
-rw-r--r-- | deskutils/dailystrips/Makefile | 28 |
1 files changed, 16 insertions, 12 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 |