aboutsummaryrefslogtreecommitdiff
path: root/deskutils/mencal
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-08-23 21:32:47 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-08-23 21:32:47 +0000
commit5823f7259860e0c17ce5ff099b600c7bb14d66eb (patch)
tree0437e25978995a4ba8231d61680cd3efef8a653f /deskutils/mencal
parent696e5bd2a8f9f106df6ccda850350667f5b56b7f (diff)
downloadports-5823f7259860e0c17ce5ff099b600c7bb14d66eb.tar.gz
ports-5823f7259860e0c17ce5ff099b600c7bb14d66eb.zip
Set shebang line correctly
Notes
Notes: svn path=/head/; revision=171293
Diffstat (limited to 'deskutils/mencal')
-rw-r--r--deskutils/mencal/Makefile4
-rw-r--r--deskutils/mencal/files/patch-mencal10
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 @@
}
}