From 2d41200db75d396cfc40f889b045101ae5454e50 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 29 May 2014 17:36:55 +0000 Subject: [PATCH] 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. --- deskutils/tine20/Makefile | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/deskutils/tine20/Makefile b/deskutils/tine20/Makefile index 74db37a90262..c39b1b985174 100644 --- a/deskutils/tine20/Makefile +++ b/deskutils/tine20/Makefile @@ -13,10 +13,9 @@ COMMENT= Professional Open Source Groupware and CRM 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