-
Notifications
You must be signed in to change notification settings - Fork 105
/
Makefile
36 lines (27 loc) · 1.03 KB
/
Makefile
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
# $NetBSD: Makefile,v 1.21 2012/09/16 18:07:16 cheusov Exp $
DISTNAME= STk-4.0.1
PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= ftp://kaolin.unice.fr/pub/STk/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://kaolin.unice.fr/STk/
COMMENT= Scheme interpreter with full access to the Tk graphical package
CONFLICTS+= snow-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
OSVERSION_SPECIFIC= yes
GNU_CONFIGURE= yes
BUILDLINK_DEPMETHOD.libXt= build
MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:M*:Q}
# Respin these symlinks so they aren't absolute.
STKVER=${DISTNAME:S/STk-//}
STKDIR=lib/stk/${STKVER}/${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}
post-install:
${RM} -f ${DESTDIR}${PREFIX}/bin/snow-${STKVER}
${RM} -f ${DESTDIR}${PREFIX}/bin/stk-${STKVER}
${LN} -s ../${STKDIR}/snow ${DESTDIR}${PREFIX}/bin/snow-${STKVER}
${LN} -s ../${STKDIR}/stk ${DESTDIR}${PREFIX}/bin/stk-${STKVER}
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"