svn commit: r355717 - head/deskutils/tine20

John Marino marino at FreeBSD.org
Thu May 29 17:36:56 UTC 2014


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>


More information about the svn-ports-all mailing list