diff --git a/x11-clocks/intclock/Makefile b/x11-clocks/intclock/Makefile index 657c3417fa1f..163cbc55bb64 100644 --- a/x11-clocks/intclock/Makefile +++ b/x11-clocks/intclock/Makefile @@ -1,36 +1,42 @@ PORTNAME= intclock PORTVERSION= 2.13 PORTREVISION= 2 CATEGORIES= x11-clocks perl5 MASTER_SITES= http://www.peterverthez.net/projects/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Multi-timezone clock WWW= http://www.peterverthez.net/projects/intclock/ +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +DEPRECATED= Upstream website vaporized +EXPIRATION_DATE= 2024-01-16 + BUILD_DEPENDS= p5-Gtk2>=1.144:x11-toolkits/p5-Gtk2 -RUN_DEPENDS:= ${BUILD_DEPENDS} +RUN_DEPENDS= p5-Gtk2>=1.144:x11-toolkits/p5-Gtk2 USES= perl5 USE_PERL5= configure MAKE_JOBS_UNSAFE= yes post-patch: @${REINPLACE_CMD} \ -e 's|$$zonedir/$$countryfile|/usr/share/misc/iso3166|' \ ${WRKSRC}/lib/Intclock/TZ.pm @${REINPLACE_CMD} \ -e 's|$$prefix/share/intclock|${DATADIR}|' \ -e 's|/usr/share|$$(DESTDIR)${PREFIX}/share|' \ -e 's|DATADIR = $$datadir|DATADIR = $$(DESTDIR)$$datadir|' \ ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} \ -e 's|/usr/bin|${PREFIX}/bin|' \ -e 's|/usr/share/intclock|${DATADIR}|' \ ${WRKSRC}/data/intclock.desktop @${FIND} ${WRKSRC} -name \*.bak -delete pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications/ .include diff --git a/x11-clocks/intclock/files/patch-Makefile.PL b/x11-clocks/intclock/files/patch-Makefile.PL index a786ea32a478..38fd9b5845a6 100644 --- a/x11-clocks/intclock/files/patch-Makefile.PL +++ b/x11-clocks/intclock/files/patch-Makefile.PL @@ -1,11 +1,11 @@ ---- ./Makefile.PL.orig 2014-08-28 18:50:07.282934874 +0100 -+++ ./Makefile.PL 2014-08-28 18:50:28.962268980 +0100 -@@ -33,7 +33,7 @@ +--- Makefile.PL.orig 2007-03-31 16:16:20 UTC ++++ Makefile.PL +@@ -33,7 +33,7 @@ for (my $i = 0 ; $i < scalar(@ARGV) ; $i++){ # preliminary checks #------------------------------------------------------------------------ # Mandatory perl modules -foreach my $module qw(Data::Dumper Time::HiRes Locale::Maketext) { +foreach my $module (qw(Data::Dumper Time::HiRes Locale::Maketext)) { print "Checking whether $module perl module is available... "; eval "use $module"; if ($@) {