mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
This commit is contained in:
parent
51b5a8eed3
commit
f1fdb34f7c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351829
@ -18,7 +18,7 @@ TYPE?= gtk
|
||||
|
||||
THEME_NAME= Milk
|
||||
|
||||
USE_BZIP2= yes
|
||||
USES= tar:bzip2
|
||||
NO_BUILD= yes
|
||||
|
||||
.if ${TYPE} == "gtk"
|
||||
@ -31,19 +31,16 @@ PLIST_SUB+= GTK20="@comment " METACITY=""
|
||||
USE_GNOME= gnomehier
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${THEME_DIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/index.theme ${THEME_DIR}
|
||||
@${MKDIR} ${STAGEDIR}${THEME_DIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/index.theme ${STAGEDIR}${THEME_DIR}
|
||||
.if ${TYPE} == "gtk"
|
||||
cd ${WRKSRC} && ${FIND} gtk-2.0 | \
|
||||
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} gtk-2.0 ${STAGEDIR}${THEME_DIR}
|
||||
.else
|
||||
cd ${WRKSRC} && ${FIND} metacity-1 | \
|
||||
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} metacity-1 ${STAGEDIR}${THEME_DIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -4,5 +4,4 @@
|
||||
TYPE= metacity
|
||||
MASTERDIR= ${.CURDIR}/../gtk-milk-theme
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
Loading…
Reference in New Issue
Block a user