diff options
Diffstat (limited to 'x11-themes/gtk-industrial-theme/Makefile')
-rw-r--r-- | x11-themes/gtk-industrial-theme/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-themes/gtk-industrial-theme/Makefile b/x11-themes/gtk-industrial-theme/Makefile new file mode 100644 index 000000000..72767ead2 --- /dev/null +++ b/x11-themes/gtk-industrial-theme/Makefile @@ -0,0 +1,59 @@ +# 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= 4 +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= 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_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> |