blob: 49abf61d6da2ccce0daaa8218386e88bbcb26ba1 (
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
|
# $NetBSD: Makefile,v 1.12 1999/05/24 20:39:50 tv Exp $
#
DISTNAME= bxform-088
PKGNAME= xforms-0.88
WRKSRC= ${WRKDIR}/xforms
CATEGORIES= x11
MASTER_SITES= ftp://bragg.phys.uwm.edu/pub/xforms/${ARCH_SUBDIR}/
.if (${MACHINE_ARCH} == "arm32")
ARCH_SUBDIR= netBSD-arm
.elif (${MACHINE_ARCH} == "i386")
ARCH_SUBDIR= netBSD
.elif (${MACHINE_ARCH} == "ns32k")
ARCH_SUBDIR= netBSD-pc532
.else
ARCH_SUBDIR= netBSD-${MACHINE_ARCH}
.endif
EXTRACT_SUFX= .tgz
MAINTAINER= lamj@stat.cmu.edu
HOMEPAGE= http://bragg.phys.uwm.edu/xforms/
ONLY_FOR_PLATFORM= *-*-{arm32,i386,m68k,sparc,ns32k}
DIST_SUBDIR= xforms/${ARCH_SUBDIR}
## Define OBJMACHINE so WRKDIR is defined to be ${MACHINE_ARCH}-specific.
OBJMACHINE= yes
NO_BUILD= yes
USE_X11BASE= yes
post-patch:
${MV} ${WRKSRC}/mkconfig.h ${WRKSRC}/mkconfig.h.orig
${CP} ${FILESDIR}/mkconfig.h ${WRKSRC}
post-install:
(cd ${PREFIX}/lib; ${LN} -fs libforms.a libxforms.a)
(cd ${PREFIX}/lib; ${LN} -fs libforms.so.0.88 libxforms.so.0.88)
.include "../../mk/bsd.pkg.mk"
|