blob: 9079590eb0d988c90788c759b4be14308c6f81e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# New ports collection makefile for: gtk-industrial-theme
# Date created: 2 August 2003
# Whom: Frank Ruell
#
# $FreeBSD$
#
PORTNAME= gtk-industrial-theme
PORTVERSION= 0.2.29
PORTREVISION= 6
CATEGORIES= x11-themes
MASTER_SITES= http://ftp.ximian.com/pub/xd2/redhat-9-i386/source/ \
${MASTER_SITE_GENTOO:S,%SUBDIR%,distfiles,}
DISTNAME= ximian-artwork-${PORTVERSION}-${XIMIAN_SUBVERSION}.ximian.${XIMIAN_DISTVERSION}.src
EXTRACT_SUFX= .rpm
MAINTAINER= ports@FreeBSD.org
COMMENT= Slick theme for GTK1 from Ximian
EXTRACT_DEPENDS=rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
BROKEN= Checksum mismatch
DEPRECATED= has been broken for more than 6 months
EXPIRATION_DATE=2009-01-19
WRKSRC= ${WRKDIR}/ximian-artwork-${PORTVERSION}
USE_GMAKE= yes
USE_GNOME= gdkpixbuf
USE_AUTOTOOLS= libtool:15
XIMIAN_SUBVERSION= 0
XIMIAN_DISTVERSION= 6.3
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@if ! (cd ${WRKDIR} && rpm2cpio.pl ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}\
| ${CPIO} -i ximian-artwork-${PORTVERSION}.tar.gz 2>/dev/null \
&& ${GZIP_CMD} -dc ximian-artwork-${PORTVERSION}.tar.gz \
| tar -xf - && ${RM} ximian-artwork-${PORTVERSION}.tar.gz);\
then \
exit 1; \
fi
@${CP} ${FILESDIR}/Makefile-gtk1 ${WRKSRC}/gtk/gtk1-engine/Makefile
post-patch:
@${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' \
${WRKSRC}/gtk/gtk1-engine/Makefile
do-configure:
@${DO_NADA}
do-build:
(cd ${WRKSRC}/gtk/gtk1-engine/;\
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
do-install:
@${MKDIR} ${PREFIX}/lib/gtk/themes/engines
@${INSTALL_PROGRAM} ${WRKSRC}/gtk/gtk1-engine/.libs/libindustrial.so ${PREFIX}/lib/gtk/themes/engines
@${MKDIR} ${PREFIX}/share/themes/Industrial/gtk
@${INSTALL_DATA} ${WRKSRC}/gtk/gtk1-engine/gtk/gtkrc ${PREFIX}/share/themes/Industrial/gtk
.include <bsd.port.mk>
|