1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/x11-themes/polymer/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

54 lines
1.2 KiB
Makefile

# New ports collection makefile for: Qt port of Plastik
# Date Created: 30 Oct 2006
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= polymer
PORTVERSION= 0.3.1
PORTREVISION= 3
CATEGORIES= x11-themes
MASTER_SITES= http://static.int.pl/~mig21/dev/releases/polymer/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= danfe
MAINTAINER= danfe@FreeBSD.org
COMMENT= Qt port of Plastik KDE theme
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
USE_BZIP2= yes
USE_AUTOTOOLS= autoheader:261
USE_QT_VER= 3
USE_LDCONFIG= yes
MAKE_ARGS+= QTDIR=${QT_PREFIX} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
QMAKE=${LOCALBASE}/bin/qmake
CONFIGURE_ENV+= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
THREAD_LIBS="${PTHREAD_LIBS}"
QTSTYLESDIR= ${PREFIX}/lib/plugins/styles
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
BROKEN= Does not compile on amd64
.endif
.if ${MACHINE_CPU:Mmmx}
CONFIGURE_ARGS+= --enable-mmx
.endif
.if ${MACHINE_CPU:Msse2}
CONFIGURE_ARGS+= --enable-sse2
.endif
do-install:
@${MKDIR} ${QTSTYLESDIR}
${INSTALL_PROGRAM} ${WRKSRC}/style/libpolymer.so.1.0.0 \
${QTSTYLESDIR}/polymer.so
${INSTALL_PROGRAM} ${WRKSRC}/config/polymer-config ${PREFIX}/bin
.include <bsd.port.post.mk>