blob: 851fa2d7b52ef170a58dbc93813df10d3afabdaf (
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
|
# 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= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://ftp.ximian.com/pub/xd2/redhat-9-i386/source/ \
http://www.linux-friends.de/stoerte/FreeBSD/
DISTNAME= ximian-artwork-${PORTVERSION}-${XIMIAN_SUBVERSION}.ximian.${XIMIAN_DISTVERSION}.src
EXTRACT_SUFX= .rpm
MAINTAINER= stoerte@dreamwarrior.net
COMMENT= Slick theme for GTK1 from Ximian
EXTRACT_DEPENDS=rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
WRKSRC= ${WRKDIR}/ximian-artwork-${PORTVERSION}
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= gdkpixbuf
USE_REINPLACE= yes
USE_LIBTOOL_VER=13
XIMIAN_SUBVERSION= 0
XIMIAN_DISTVERSION= 6.2
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>
|