mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
61 lines
1.5 KiB
Makefile
61 lines
1.5 KiB
Makefile
# New ports collection makefile for: Ana
|
|
# Date created: 20 Feb 2005
|
|
# Whom: Alexander Leidinger <netchild@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ana
|
|
PORTVERSION= 0.11
|
|
PORTREVISION= 7
|
|
CATEGORIES= x11-themes gnome
|
|
MASTER_SITES= http://ana.netart.eu.org/
|
|
PKGNAMEPREFIX= ${TYPE}-
|
|
PKGNAMESUFFIX= -theme
|
|
DISTNAME= Ana
|
|
|
|
MAINTAINER= netchild@FreeBSD.org
|
|
COMMENT= Clean and white GTK engine
|
|
|
|
LIB_DEPENDS= rsvg-2:${PORTSDIR}/graphics/librsvg2
|
|
RUN_DEPENDS= ${LOCALBASE}/share/icons/Foxtrot/index.theme:${PORTSDIR}/x11-themes/gnome-themes-extras
|
|
|
|
TYPE?= gtk
|
|
THEME_NAME= Ana
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
NO_BUILD= yes
|
|
|
|
.if ${TYPE} == "gtk"
|
|
THEME_DIR= ${PREFIX}/share/themes/${THEME_NAME}
|
|
PLIST_SUB+= GTK=""
|
|
PLIST_SUB+= GTK20=""
|
|
PLIST_SUB+= METACITY="@comment "
|
|
USE_GNOME= gtk20
|
|
.else # metacity
|
|
THEME_DIR= ${PREFIX}/share/themes/${THEME_NAME}
|
|
PLIST_SUB+= GTK="@comment "
|
|
PLIST_SUB+= GTK20="@comment "
|
|
PLIST_SUB+= METACITY=""
|
|
USE_GNOME= gnomehier
|
|
.endif
|
|
|
|
PLIST_SUB+= THEME_NAME="${THEME_NAME}"
|
|
|
|
do-install:
|
|
@${MKDIR} ${THEME_DIR}
|
|
.if ${TYPE} == "gtk"
|
|
cd ${WRKSRC} && ${FIND} gtk-2.0 -name '*[^~]' | \
|
|
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
|
|
cd ${WRKSRC} && ${FIND} gtk -name '*[^~]' | \
|
|
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
|
|
cd ${WRKSRC} && ${FIND} icons -name '*[^~]' | \
|
|
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/index.theme ${THEME_DIR}
|
|
.else
|
|
cd ${WRKSRC} && ${FIND} metacity-1 -name '*[^~]' | \
|
|
${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${THEME_DIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|