svn commit: r350526 - head/www/ruby-wgettsv

Baptiste Daroussin bapt at FreeBSD.org
Mon Apr 7 16:36:01 UTC 2014


Author: bapt
Date: Mon Apr  7 16:36:00 2014
New Revision: 350526
URL: http://svnweb.freebsd.org/changeset/ports/350526
QAT: https://qat.redports.org/buildarchive/r350526/

Log:
  Support stage

Modified:
  head/www/ruby-wgettsv/Makefile

Modified: head/www/ruby-wgettsv/Makefile
==============================================================================
--- head/www/ruby-wgettsv/Makefile	Mon Apr  7 16:33:01 2014	(r350525)
+++ head/www/ruby-wgettsv/Makefile	Mon Apr  7 16:36:00 2014	(r350526)
@@ -8,29 +8,25 @@ MASTER_SITES=	http://alpha.mixi.co.jp/di
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
 DISTNAME=	wgettsv
 EXTRACT_SUFX=
-EXTRACT_ONLY=
 
 MAINTAINER=	qingfeng at douban.com
 COMMENT=	Collect WWW resources and generate TSV data
 
+USES=		shebangfix
+SHEBANG_FILES=	wgettsv
 USE_RUBY=		yes
 USE_RUBY_FEATURES=	iconv
+NO_WRKSUBDIR=	yes
 
 NO_BUILD=		yes
 
 PLIST_FILES=	bin/wgettsv
 
-NO_STAGE=	yes
-post-extract:
+do-extract:
+	@${MKDIR} ${WRKDIR}
 	${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}/${DISTNAME}
 
-do-configure:
-	${SED} -e "s,^#!/usr/bin/ruby -w,#!${RUBY} -w," \
-		    <${DISTDIR}/${DISTNAME} >${WRKDIR}/${DISTNAME}
 do-install:
-	${INSTALL_DATA} -m0755 ${WRKDIR}/${DISTNAME} ${PREFIX}/bin
-
-do-package:
-	#
+	${INSTALL_DATA} -m0755 ${WRKDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list