mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Convert to USES, that handles tar archives
- Add support for stage dir [1] - Remove post-install-target PR: ports/187887 [1] Submitted by: Johannes Jost Meixner <xmj@chaot.net>
This commit is contained in:
parent
0c8ac8d108
commit
2e43bee80c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349693
1 changed files with 6 additions and 10 deletions
|
@ -30,22 +30,18 @@ ONLY_FOR_ARCHS_REASON= binary distribution
|
|||
SUB_FILES= ${PORTNAME} pkg-message
|
||||
SUB_LIST= LINUXBASE=${LINUXBASE}
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_LINUX= yes
|
||||
USE_LINUX_APPS= alsalib dbuslibs gtk2 xorglibs
|
||||
USES= tar:bzip2
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-desktop
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
cd ${WRKSRC} && \
|
||||
${COPYTREE_SHARE} . ${DATADIR}
|
||||
${CHMOD} ${BINMODE} ${DATADIR}/${PORTNAME}-desktop
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
(cd ${WRKSRC} && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
||||
${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/${PORTNAME}-desktop
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue