summaryrefslogtreecommitdiff
path: root/x11/py-qt3-sip/buildlink2.mk
blob: 8f9d4315869d3530b87bcd62f3933f37ce96f867 (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
# $NetBSD: buildlink2.mk,v 1.3 2003/08/19 04:35:05 jmc Exp $

.if !defined(PY_QT3_SIP_BUILDLINK2_MK)
PY_QT3_SIP_BUILDLINK2_MK=	# defined

.include "../../lang/python/pyversion.mk"

BUILDLINK_PACKAGES+=		pyqt3sip
BUILDLINK_DEPENDS.pyqt3sip?=	${PYPKGPREFIX}-qt3-sip>=3.7nb1
BUILDLINK_PKGSRCDIR.pyqt3sip?=	../../x11/py-qt3-sip

EVAL_PREFIX+=	BUILDLINK_PREFIX.pyqt3sip=pyqt3sip
BUILDLINK_PREFIX.pyqt3sip_DEFAULT=	${LOCALBASE}

BUILDLINK_FILES.pyqt3sip=	${PYINC}/sip.h
BUILDLINK_FILES.pyqt3sip+=	${PYINC}/sipQt.h
BUILDLINK_FILES.pyqt3sip+=	${PYSITELIB}/libsip.*

SIPBIN=	${BUILDLINK_PREFIX.pyqt3sip}/bin/sip${PYVERSSUFFIX}

BUILDLINK_LDFLAGS.pyqt3sip=	-L${PREFIX}/${PYSITELIB} -Wl,-R${PREFIX}/${PYSITELIB}
LDFLAGS+=	-Wl,-R${PREFIX}/${PYSITELIB}

BUILDLINK_TARGETS+=	pyqt3sip-buildlink

pyqt3sip-buildlink: _BUILDLINK_USE

.endif	# PY_QT3_SIP_BUILDLINK2_MK