diff options
-rw-r--r-- | deskutils/mencal/Makefile | 4 | ||||
-rw-r--r-- | deskutils/mencal/files/patch-mencal | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/deskutils/mencal/Makefile b/deskutils/mencal/Makefile index 652c123ab916..dd86e336d09c 100644 --- a/deskutils/mencal/Makefile +++ b/deskutils/mencal/Makefile @@ -7,6 +7,7 @@ PORTNAME= mencal PORTVERSION= 2.3 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= http://kyberdigi.cz/projects/${PORTNAME}/ @@ -17,6 +18,9 @@ USE_PERL5= yes NO_BUILD= yes PLIST_FILES= bin/mencal +post-patch: + @${REINPLACE_CMD} -e '1s|.*|#!${PERL} -w|' ${WRKSRC}/${PORTNAME} + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/mencal ${PREFIX}/bin diff --git a/deskutils/mencal/files/patch-mencal b/deskutils/mencal/files/patch-mencal index d75ab1ac38be..3882eea8f0b6 100644 --- a/deskutils/mencal/files/patch-mencal +++ b/deskutils/mencal/files/patch-mencal @@ -1,11 +1,5 @@ ---- mencal.orig Thu Jul 17 09:26:57 2003 -+++ mencal Thu Jul 17 09:27:35 2003 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl -w - - ##< month object >## - +--- mencal.orig Thu Jul 17 07:53:15 2003 ++++ mencal Wed Aug 23 23:24:21 2006 @@ -276,15 +276,6 @@ } } |