aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/neXtaw/Makefile
blob: a86e8c318c85804106560d608c282a1cd3d70b45 (plain) (blame)
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
43
# New ports collection makefile for:    neXtaw
# Version required: 0.5.1
# Date created:     16 January 1997
# Whom:         Thomas Gellekum <tg@FreeBSD.ORG>
#
# $FreeBSD$
#

DISTNAME=   neXtaw-0.5.1
CATEGORIES= x11-toolkits
MASTER_SITES=   http://www.freebsd.org/~tg/     
EXTRACT_SUFX=   .tar.gz.bin

MAINTAINER= tg@FreeBSD.ORG

.if ${MACHINE_ARCH} == "alpha"
BROKEN=     compiler error in funtion fixup_memory_subreg
.endif

USE_IMAKE=  yes

.include <bsd.port.pre.mk>

post-extract:
    @${RM} -rf ${WRKSRC}/X11

post-configure:
    @${ECHO_MSG} "*********************************************************************"
    @${ECHO_MSG} "* Don't worry about the warning messages above, the port will build *"
    @${ECHO_MSG} "*********************************************************************"
    @cd ${WRKSRC}/exports/include/X11/neXtaw; ${LN} -sf ../../../../*.h .

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/neXtaw
    ${INSTALL_DATA} ${WRKSRC}/README.neXtaw ${PREFIX}/share/doc/neXtaw
.endif
.if ${PORTOBJFORMAT} == "aout"
    ${LN} -sf libneXtaw.so.6.1 ${PREFIX}/lib/libneXtaw.so
.endif
    ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.post.mk>