mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
f83c7639aa
prevent massive PORTREVISION bumps. Bump dependent ports that have not been bumped since.
67 lines
2.1 KiB
Makefile
67 lines
2.1 KiB
Makefile
# Created by: Deni Shaposhnikov <dsh@bamus.cz>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= equinox
|
|
PORTVERSION= 1.50
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11-themes
|
|
MASTER_SITES= http://gnome-look.org/CONTENT/content-files/
|
|
PKGNAMEPREFIX= gtk-
|
|
PKGNAMESUFFIX= -engine
|
|
DISTFILES= 121881-${DISTNAME}.tar.gz \
|
|
140449-${PORTNAME}-themes-${PORTVERSION}.tar.gz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Equinox GTK+ 2.x engine and themes
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-engines-2.pc:x11-themes/gtk-engines2
|
|
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-engines-2.pc:x11-themes/gtk-engines2 \
|
|
${LOCALBASE}/share/icons/Faenza/index.theme:x11-themes/gnome-icons-faenza
|
|
|
|
USES= pkgconfig libtool
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
WRKSRC= ${WRKDIR}/equinox-${PORTVERSION}
|
|
|
|
DATADIR= ${PREFIX}/share/themes
|
|
|
|
SUBDIRS= "Equinox Evolution" "Equinox Evolution Dawn" \
|
|
"Equinox Evolution Dawn" "Equinox Evolution Dusk" \
|
|
"Equinox Evolution Light" "Equinox Evolution Midnight" \
|
|
"Equinox Evolution Rounded" "Equinox Evolution Squared"
|
|
EXAMPLES= "Equinox Evolution.crx" "Equinox Evolution Dawn.crx" \
|
|
"Equinox Evolution Dusk.crx" "Equinox Evolution Midnight.crx"
|
|
|
|
OPTIONS_DEFINE= ANIMATION EXAMPLES DOCS
|
|
OPTIONS_DEFAULT= ANIMATION
|
|
ANIMATION_DESC= Enable animation support
|
|
ANIMATION_CONFIGURE_ENABLE= animation
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKDIR} -name 'gtkrc' -exec \
|
|
${REINPLACE_CMD} -e 's!^include "apps/nautilus\.rc"!#&!' {} +
|
|
@${FIND} ${WRKDIR} -type f -name 'gtkrc.bak' -exec ${RM} {} +
|
|
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
|
|
${WRKSRC}/src/animation.c
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
.for i in ${SUBDIRS}
|
|
${CP} -R ${WRKDIR}/${i} ${STAGEDIR}${DATADIR}
|
|
.endfor
|
|
${FIND} ${STAGEDIR}${DATADIR} -type d -exec ${CHMOD} 755 {} +
|
|
${FIND} ${STAGEDIR}${DATADIR} -type f -exec ${CHMOD} ${SHAREMODE} {} +
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
.for i in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKDIR}/$i ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|