blob: 2471f9756b277f820c36d7b8a61f1f8d238d80c5 (
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
|
# 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
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_X_PREFIX= yes
USE_BZIP2= yes
USE_AUTOTOOLS= autoheader:259
USE_QT_VER= 3
INSTALLS_SHLIB= yes
MAKE_ARGS+= QTDIR=${X11BASE} \
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 ${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>
|