Annotation of pkgsrc/x11/xforms/Makefile, Revision 1.35
1.35 ! wiz 1: # $NetBSD: Makefile,v 1.34 2000/09/28 20:34:05 fredb Exp $
1.1 frueauf 2: #
3:
1.17 jwise 4: DISTNAME= bxform-088
1.34 fredb 5: PKGNAME= xforms-0.88nb1
1.11 tron 6: WRKSRC= ${WRKDIR}/xforms
7: CATEGORIES= x11
1.23 dmcmahil 8: MASTER_SITES= ftp://ncmir.ucsd.edu/pub/xforms/${ARCH_SUBDIR}/
1.18 jlam 9: EXTRACT_SUFX= .tgz
10:
11: MAINTAINER= packages@netbsd.org
1.27 tron 12: HOMEPAGE= http://world.std.com/~xforms/
1.35 ! wiz 13: COMMENT= Graphical user interface toolkit for X Window System
1.33 fredb 14:
15: LICENSE= fee-based-commercial-use
1.18 jlam 16:
1.1 frueauf 17: .if (${MACHINE_ARCH} == "arm32")
1.20 jlam 18: ARCH_SUBDIR= netBSD-arm
1.1 frueauf 19: .elif (${MACHINE_ARCH} == "i386")
1.20 jlam 20: ARCH_SUBDIR= netBSD
1.9 matthias 21: .elif (${MACHINE_ARCH} == "ns32k")
1.20 jlam 22: ARCH_SUBDIR= netBSD-pc532
1.1 frueauf 23: .else
1.20 jlam 24: ARCH_SUBDIR= netBSD-${MACHINE_ARCH}
1.1 frueauf 25: .endif
26:
1.20 jlam 27: DIST_SUBDIR= xforms-${MACHINE_ARCH}
1.25 dmcmahil 28:
1.22 wrstuden 29: ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 NetBSD-*-m68k \
1.24 dmcmahil 30: NetBSD-*-mipsel NetBSD-*-ns32k NetBSD-*-sparc NetBSD-*-powerpc
1.1 frueauf 31:
1.18 jlam 32: .include "../../mk/bsd.prefs.mk"
1.15 bad 33:
1.19 jlam 34: .if ${MACHINE_ARCH} == "i386" && ${OBJECT_FMT} == "ELF"
1.18 jlam 35: DISTNAME= bxform-088-ELF
36: .endif
1.19 jlam 37: .if ${MACHINE_ARCH} == "sparc" && ${OBJECT_FMT} == "ELF"
1.22 wrstuden 38: DISTNAME= bxform-088-ELF
1.15 bad 39: .endif
1.1 frueauf 40:
41: ## Define OBJMACHINE so WRKDIR is defined to be ${MACHINE_ARCH}-specific.
1.29 tron 42: OBJMACHINE= YES
1.3 frueauf 43:
1.29 tron 44: USE_X11BASE= YES
45: USE_XPM= YES
46: USE_LIBTOOL= YES
1.20 jlam 47: MAKEFILE= ${FILESDIR}/Makefile
48: PLIST_SRC= ${PKGDIR}/PLIST.mi ${PKGDIR}/PLIST.shlib
1.30 hubertf 49:
50: CHECK_SHLIBS= NO # fdesigner doesn't find libX11 on i386
1.31 wiz 51: # we don't have sources, so don't run this test
1.1 frueauf 52:
1.20 jlam 53: # When the XForms API changes and breaks binary-compatibility with the
54: # previous version, increment the MAJOR by 1 and reset the MINOR to 0.
55: #
56: SHLIB_MAJOR= 0
57: SHLIB_MINOR= 88
1.1 frueauf 58:
1.20 jlam 59: MAKE_ENV+= SHLIB_MAJOR="${SHLIB_MAJOR}" SHLIB_MINOR="${SHLIB_MINOR}"
1.1 frueauf 60:
1.32 fredb 61: # XXX Run-time link editor tries to resolve libGL.so symbols when linking
62: # XXX with shared libxforms, but all the packages that requre xforms seem
63: # XXX to work OK without -lGL, so for now, remove the shared lib.
1.19 jlam 64: PLIST_SRC= ${PKGDIR}/PLIST.mi
65:
1.1 frueauf 66: post-install:
1.20 jlam 67: ${RM} -f \
68: ${PREFIX}/lib/libforms.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
69: ${PREFIX}/lib/libforms.so.${SHLIB_MAJOR} \
70: ${PREFIX}/lib/libforms.so \
71: ${PREFIX}/lib/libxforms.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
72: ${PREFIX}/lib/libxforms.so.${SHLIB_MAJOR} \
73: ${PREFIX}/lib/libxforms.so
1.1 frueauf 74:
1.2 agc 75: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>