1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/x11-themes/gtk-industrial-theme/Makefile
2006-05-13 05:00:46 +00:00

61 lines
1.7 KiB
Makefile

# 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= 3
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_X_PREFIX= 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>