aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/neXtaw/Makefile
blob: 6e5482416181be0adf60fb657c85a2412356c592 (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
# New ports collection makefile for:    neXtaw
# Date created:     16 January 1997
# Whom:         Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   neXtaw
PORTVERSION=    0.15.1
CATEGORIES= x11-toolkits
MASTER_SITES=   http://siag.nu/pub/neXtaw/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Athena Widgets with N*XTSTEP appearance

USE_X_PREFIX=   yes
USE_REINPLACE=  yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${X11BASE}/include" \
        LDFLAGS="-L${X11BASE}/lib"
INSTALLS_SHLIB= yes

post-patch:
    @${REINPLACE_CMD} -e 's|version-info.*$$|version-info ${XAWVER}:0:0|g' \
        ${WRKSRC}/X11/neXtaw/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/FAQ ${DOCSDIR}
.endif

.include <bsd.port.mk>