Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2014 17:36:56 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355717 - head/deskutils/tine20
Message-ID:  <201405291736.s4THauYG021250@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu May 29 17:36:55 2014
New Revision: 355717
URL: http://svnweb.freebsd.org/changeset/ports/355717
QAT: https://qat.redports.org/buildarchive/r355717/

Log:
  desktuils/tine20: Simplify port to remove unnecessary targets
  
  Both post-extract and post-install targets aren't necessary.
  In particular the shifting to get the src to extract into the default
  WRKSRC was not only unnecessary, the home-rolled extraction could break
  in the future, so just clean the whole thing up.  Verified on Redports.

Modified:
  head/deskutils/tine20/Makefile

Modified: head/deskutils/tine20/Makefile
==============================================================================
--- head/deskutils/tine20/Makefile	Thu May 29 17:26:42 2014	(r355716)
+++ head/deskutils/tine20/Makefile	Thu May 29 17:36:55 2014	(r355717)
@@ -13,10 +13,9 @@ COMMENT=	Professional Open Source Groupw
 
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USE_BZIP2=	yes
-
+USES=		tar:bzip2
 NO_BUILD=	yes
-WRKSRC=	${WRKDIR}/${PORTNAME}
+WRKSRC=		${WRKDIR}
 
 SUB_FILES=	pkg-message
 SUB_LIST=	DISTNAME=${DISTNAME}
@@ -26,23 +25,16 @@ APC_DESC=	Enable pecl-APC support
 MEMCACHE_DESC=	Enable pecl-memcache support
 
 USE_MYSQL=	yes
-USE_PHP=	ctype dom gd iconv json mcrypt mysql pdo_mysql simplexml spl xml zip
+USE_PHP=	ctype dom gd iconv json mcrypt mysql pdo_mysql simplexml \
+		spl xml zip
 WANT_PHP_WEB=	yes
 
 APC_USE=	php=apc
 LDAP_USE=	php=ldap
 MEMCACHE_USE=	php=memcache
 
-do-extract:
-	@${RM} -rf ${WRKDIR}
-	${MKDIR} ${WRKDIR}/${PORTNAME}
-	cd ${WRKDIR}/${PORTNAME} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS}
-
 do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
 
-post-install:
-	${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405291736.s4THauYG021250>