blob: 04cedd594701da38ad7dd1948b996e1ff24030bf (
plain)
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
|
# -*-mode: makefile-*-
# Created by: [email protected]
# $FreeBSD$
#
.include <../../trinity.port.mk>
PORTNAME= libtqtinterface
COMMENT= Trinity TQt Interface
TDE_PREVERSION=
MASTER_SITE_SUBDIR= libt/${PORTNAME}
DISTSRC= tqtinterface-trinity-${TDE_VERSION}${TDE_PREVERSION}
PORTREVISION= 0
CATEGORIES= devel
DIST_SUBDIR= TDE/dependencies
PREFIX= ${LOCALBASE}
BUILD_DEPENDS+= tqmoc:${PORTSDIR}/x11/trinity/dependencies/tqt3
RUN_DEPENDS+= gsed:${PORTSDIR}/textproc/gsed \
bash:${PORTSDIR}/shells/bash \
LIB_DEPENDS+= libtqt-mt.so:${PORTSDIR}/x11/trinity/dependencies/tqt3
# Build
post-patch: tde-pathfix
do-configure: tde-cmake-prepare
${TDE_CMAKE_CONFIGURE} \
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DPKGCONFIG_INSTALL_DIR="${PREFIX}/libdata/pkgconfig" \
\
-DQT_PREFIX_DIR="${LOCALBASE}" \
-DQT_INCLUDE_DIR="${LOCALBASE}/include/tqt3" \
-DWITH_QT3="ON"
do-build: tde-cmake-build
do-install: tde-cmake-install
post-install:
# Fix path to 'bash'
gsed -i ${STAGEDIR}${PREFIX}/bin/* \
-e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
-e "s|sed |gsed |g"
.include <bsd.port.mk>
|