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

- Stage support

This commit is contained in:
Martin Wilke 2014-01-27 11:15:57 +00:00
parent 4d7f6036b2
commit 465dba60fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341374

View File

@ -16,7 +16,6 @@ GTK2_ENGINEDIR= lib/gtk-2.0/${GTK2_VERSION}/engines
PLIST= ${WRKDIR}/pkg-plist
EXTRA_STYLES= BerriesAndCream Gnome Grape Lime Slate Strawberry Tangerine
NO_STAGE= yes
post-patch:
.for s in ${EXTRA_STYLES}
@${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|' \
@ -44,13 +43,13 @@ pre-install:
.endfor
do-install:
${MKDIR} ${PREFIX}/${GTK2_ENGINEDIR}
${INSTALL_PROGRAM} ${WRKSRC}/art/gtk/Bluecurve/libbluecurve.so ${PREFIX}/${GTK2_ENGINEDIR}
${MKDIR} ${PREFIX}/share/themes/Bluecurve/gtk-2.0
${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve/gtk-2.0/gtkrc ${PREFIX}/share/themes/Bluecurve/gtk-2.0
${MKDIR} ${STAGEDIR}${PREFIX}/${GTK2_ENGINEDIR}
${INSTALL_PROGRAM} ${WRKSRC}/art/gtk/Bluecurve/libbluecurve.so ${STAGEDIR}${PREFIX}/${GTK2_ENGINEDIR}
${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/Bluecurve/gtk-2.0
${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve/gtk-2.0/gtkrc ${STAGEDIR}${PREFIX}/share/themes/Bluecurve/gtk-2.0
.for s in ${EXTRA_STYLES}
${MKDIR} ${PREFIX}/share/themes/Bluecurve-${s}/gtk-2.0
${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve-${s}/gtk-2.0/gtkrc ${PREFIX}/share/themes/Bluecurve-${s}/gtk-2.0
${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/Bluecurve-${s}/gtk-2.0
${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve-${s}/gtk-2.0/gtkrc ${STAGEDIR}${PREFIX}/share/themes/Bluecurve-${s}/gtk-2.0
.endfor
.include "${MASTERDIR}/Makefile"