View | Details | Raw Unified | Return to bug 116373 | Differences between
and this patch

Collapse All | Expand All

(-)/home/makc/porting/ports/math/scilab-toolbox-swt/Makefile (-5 / +13 lines)
Lines 21-37 Link Here
21
21
22
WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
22
WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
23
23
24
SCI=		${LOCALBASE}/lib/scilab
24
SCILABDIR?=	lib/scilab
25
TOOLBOXDIR?=	lib/scilab/contrib/swt
25
CONTRIBDIR?=	${SCILABDIR}/contrib
26
TOOLBOXDIR?=	${CONTRIBDIR}/${PORTNAME}
26
27
27
HAS_CONFIGURE=	yes
28
HAS_CONFIGURE=	yes
28
CONFIGURE_ARGS+=--prefix=${PREFIX}/${TOOLBOXDIR}
29
CONFIGURE_ARGS+=--prefix=${PREFIX}/${TOOLBOXDIR}
29
CONFIGURE_ENV+=	SCI="${SCI}"
30
CONFIGURE_ENV+=	SCI="${LOCALBASE}/${SCILABDIR}"
30
USE_LDCONFIG=	${PREFIX}/${TOOLBOXDIR}
31
31
32
PLIST_SUB=	TOOLBOXDIR=${TOOLBOXDIR}
32
PLIST_SUB=	TOOLBOXDIR=${TOOLBOXDIR}
33
33
34
OPTIONS=	SIVP "Enable Image and Video support" off
35
36
.include <bsd.port.pre.mk>
37
38
.if defined(WITH_SIVP)
39
RUN_DEPENDS+=	${LOCALBASE}/${CONTRIBDIR}/sivp/loader.sce:${PORTSDIR}/math/scilab-toolbox-sivp
40
.endif
41
34
post-install:
42
post-install:
35
	 @${CAT} ${PKGMESSAGE}
43
	 @${CAT} ${PKGMESSAGE}
36
44
37
.include <bsd.port.mk>
45
.include <bsd.port.post.mk>

Return to bug 116373