x11-themes/clearlooks-themes-extras: Stage support+

In addition to supporting stage, the unnecessarily custom extraction
target was replaced with NO_WRKSUBDIR.
This commit is contained in:
John Marino 2014-05-30 09:23:02 +00:00
parent bfd0f9a89e
commit ed765c98ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355806

View File

@ -12,11 +12,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Extras colour schemes for Clearlooks engine theme
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_GNOME= gtk20
THEME_DIR= ${PREFIX}/share/themes
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/libdata/pkgconfig/gtk-engines-2.pc) || defined(WITH_GTKENGINE)
@ -25,14 +25,10 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-the
RUN_DEPENDS= ${LOCALBASE}/lib/gtk-2.0/${GTK2_VERSION}/engines/libclearlooks.so:${PORTSDIR}/x11-themes/clearlooks
.endif
do-extract:
@${MKDIR} ${WRKSRC}
@(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${DISTFILES} ${EXTRACT_AFTER_ARGS})
do-install:
@${MKDIR} ${THEME_DIR}
@cd ${WRKSRC} && ${FIND} . -print | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} \
${STAGEDIR}${THEME_DIR}
.include <bsd.port.post.mk>