mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Stage support
- Do not remove a directory belonging to BSD.local.dist mtree Reported by: poudriere With hat: portmgr
This commit is contained in:
parent
84e2411e4b
commit
006253b3c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349886
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= SearchAndRescue
|
||||
PORTVERSION= 1.4.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/${PORTNAME:L}/Program/
|
||||
|
||||
@ -20,10 +20,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME:L}_${PORTVERSION}
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
${DESKTOPDIR:S,${PREFIX}/,,}/${PORTNAME}.desktop \
|
||||
share/pixmaps/${PORTNAME}.xpm
|
||||
PLIST_DIRS= ${DESKTOPDIR:S,${PREFIX}/,,}
|
||||
|
||||
#Respect PREFIX, LOCALBASE, CC, etc.
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
|
||||
-e 's,%%PREFIX%%,${PREFIX},g' \
|
||||
@ -38,9 +36,8 @@ post-patch:
|
||||
${WRKSRC}/sar/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sar/${PORTNAME} ${PREFIX}/bin
|
||||
${MKDIR} ${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sar/icons/${PORTNAME}.xpm ${PREFIX}/share/pixmaps
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sar/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sar/icons/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user