1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-04-22 12:50:54 +00:00
parent 51b5a8eed3
commit f1fdb34f7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351829
2 changed files with 5 additions and 9 deletions

View File

@ -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>

View File

@ -4,5 +4,4 @@
TYPE= metacity
MASTERDIR= ${.CURDIR}/../gtk-milk-theme
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"