mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
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.
This commit is contained in:
parent
fa91bbab04
commit
2d41200db7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355717
@ -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 <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user