freebsd-ports/x11-toolkits/qt-bluecurve-theme/Makefile
Ade Lovett b2fd75e438 libtool uber-patch
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5
* upgrade repo-copied devel/libtool14 to 1.4.3
* break out libltdl into its own separate port
* move to version-numbered binaries/scripts (ie: there is *no* 'libtool'
  any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends)

Approved by:	portmgr (kris) - for the bsd.port.mk hooks
Tested by:	bento 4-exp builds (repeatedly)
2003-06-26 22:58:32 +00:00

57 lines
1.7 KiB
Makefile

# New ports collection makefile for: bluecurve-unified
# Date created: 3 October 2002
# Whom: Eugeney Ryzhyk
#
# $FreeBSD$
#
PORTNAME= qt-bluecurve-theme
PORTVERSION= 0.73
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX}
MASTER_SITE_SUBDIR= 9/en/os/i386/SRPMS
DISTFILES= redhat-artwork-${PORTVERSION}-${RH_SUBVERSION}.src.rpm
MAINTAINER= rzheka@users.sourceforge.net
COMMENT= Bluecurve unified-look theme for QT3 from RedHat 8.0
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
WRKSRC= ${WRKDIR}/redhat-artwork-${PORTVERSION}
USE_LIBTOOL= yes
#LIBTOOLFILES= # none
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
RH_SUBVERSION= 1
USE_QT_VER= 3
THEMES_SUBDIRS = ${WRKSRC}/art/qt/Bluecurve
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@if ! (cd ${WRKDIR} && rpm2cpio ${_DISTDIR}/${DISTFILES} | cpio -i redhat-artwork-${PORTVERSION}.tar.gz 2>/dev/null && ${GZIP_CMD} -dc redhat-artwork-${PORTVERSION}.tar.gz | tar -xf - && ${RM} redhat-artwork-${PORTVERSION}.tar.gz);\
then \
exit 1; \
fi
${CP} ${FILESDIR}/Makefile-qt3 ${WRKSRC}/art/qt/Bluecurve/Makefile
# There's no configure script, but we need libtool to build
do-configure:
@${DO_NADA}
post-patch:
@${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/art/qt/Bluecurve/Makefile
@${RM} ${THEMES_SUBDIRS}/bluecurve.moc
do-build:
@for theme_dir in ${THEMES_SUBDIRS};do \
(cd $$theme_dir; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}); \
done
do-install:
@${MKDIR} ${PREFIX}/plugins/styles && ${CHMOD} a+rx ${PREFIX}/plugins/styles
@${INSTALL_PROGRAM} ${WRKSRC}/art/qt/Bluecurve/.libs/bluecurve.so ${PREFIX}/plugins/styles
.include <bsd.port.mk>