aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cmus-post.fm
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-07 14:31:06 +0800
committerbapt <bapt@FreeBSD.org>2013-05-07 14:31:06 +0800
commitd39fcfea8eb28b43c4f5c6b811e15905933d122a (patch)
tree1aee44d367d29ab7827a2e97a4ac08972d30292e /audio/cmus-post.fm
parent7cf431efe5848ca2b30945538b00135cc9632f95 (diff)
downloadfreebsd-ports-gnome-d39fcfea8eb28b43c4f5c6b811e15905933d122a.tar.gz
freebsd-ports-gnome-d39fcfea8eb28b43c4f5c6b811e15905933d122a.tar.zst
freebsd-ports-gnome-d39fcfea8eb28b43c4f5c6b811e15905933d122a.zip
Use shebangfix
Diffstat (limited to 'audio/cmus-post.fm')
-rw-r--r--audio/cmus-post.fm/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/audio/cmus-post.fm/Makefile b/audio/cmus-post.fm/Makefile
index cca6c5b5ada5..2cf35cc89ece 100644
--- a/audio/cmus-post.fm/Makefile
+++ b/audio/cmus-post.fm/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cmus-post.fm
-# Date created: 8 March 2007
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= post.fm
PORTVERSION= 1.0
@@ -17,15 +13,14 @@ COMMENT= Last.fm submitter
RUN_DEPENDS= p5-libwww>=5.805:${PORTSDIR}/www/p5-libwww \
p5-Storable>=0:${PORTSDIR}/devel/p5-Storable
+USES= shebangfix
USE_BZIP2= yes
USE_PERL5_RUN= yes
SUB_FILES= pkg-message
NO_BUILD= yes
PLIST_FILES= libexec/${PORTNAME} %%EXAMPLESDIR%%/${PORTNAME}.conf
PLIST_DIRS= %%EXAMPLESDIR%%
-
-post-patch:
- @${REINPLACE_CMD} -e '1s|#!.*|#!${PERL5}|' ${WRKSRC}/${PORTNAME}
+SHEBANG_FILES= ${PORTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec/