svn commit: r317614 - head/www/linklint

Emanuel Haupt ehaupt at FreeBSD.org
Tue May 7 14:27:42 UTC 2013


Author: ehaupt
Date: Tue May  7 14:27:41 2013
New Revision: 317614
URL: http://svnweb.freebsd.org/changeset/ports/317614

Log:
  - Use shebangfix macro
  - Trim header

Modified:
  head/www/linklint/Makefile

Modified: head/www/linklint/Makefile
==============================================================================
--- head/www/linklint/Makefile	Tue May  7 14:20:56 2013	(r317613)
+++ head/www/linklint/Makefile	Tue May  7 14:27:41 2013	(r317614)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	linklint
-# Date created:				16 Sep 2005
-# Whom:					Emanuel Haupt <ehaupt at critical.ch>
-#
+# Created by: Emanuel Haupt <ehaupt at critical.ch>
 # $FreeBSD$
-#
 
 PORTNAME=	linklint
 DISTVERSION=	2.3.6.d
@@ -14,14 +10,13 @@ MASTER_SITES=	http://www.linklint.org/do
 MAINTAINER=	ehaupt at FreeBSD.org
 COMMENT=	Perl script that checks links on web sites
 
+USES=		shebangfix
 USE_PERL5_RUN=	yes
 NO_BUILD=	yes
 
-PLIST_FILES=	bin/linklint
+SHEBANG_FILES=	${DISTNAME}
 
-post-patch:
-	@${REINPLACE_CMD} -e '1s|.*|#!${PERL}|' \
-		${WRKSRC}/${DISTNAME}
+PLIST_FILES=	bin/linklint
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}


More information about the svn-ports-all mailing list