Initial import of p5-Clipboard-0.09:
[pkgsrc.git] / x11 / neXtaw / Makefile
1 # $NetBSD$
2
3 DISTNAME=       neXtaw-0.12
4 CATEGORIES=     x11
5 MASTER_SITES=   http://siag.nu/pub/neXtaw/
6
7 MAINTAINER=     packages@netbsd.org
8 COMMENT=        NeXTstep-like widgets based on the Athena Widget set
9
10 .include "../../mk/bsd.prefs.mk"
11
12 USE_BUILDLINK_ONLY=     # defined
13 GNU_CONFIGURE=          # defined
14
15 USE_LIBTOOL=            # defined
16 LIBTOOL_OVERRIDE=       ${WRKSRC}/libtool
17
18 DOCDIR=         ${PREFIX}/share/doc/${PKGBASE}
19 EGDIR=          ${PREFIX}/share/examples/${PKGBASE}
20
21 post-install:
22         ${INSTALL_DATA_DIR} ${DOCDIR}
23         ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
24         ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCDIR}
25         ${INSTALL_DATA} ${WRKSRC}/doc/README.XAW3D ${DOCDIR}
26         ${INSTALL_DATA_DIR} ${EGDIR}
27         for file in ${WRKSRC}/doc/app-defaults/*; do                    \
28                 ${INSTALL_DATA} $${file} ${EGDIR};                      \
29         done
30
31 .include "../../mk/x11.buildlink.mk"
32 .include "../../mk/bsd.pkg.mk"
33
34 # XXX On NetBSD/alpha 1.5.2, gcc has an optimization bug.
35 .if !empty(MACHINE_PLATFORM:MNetBSD-1.5.2-alpha)
36 CFLAGS+=        -O0
37 .endif