aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/SoXt/Makefile
blob: 54d6ef5f7bc0da1ee7e4e5a1f89fb29cb8328abd (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
# Created by: roland.jesse@gmx.net
# $FreeBSD$

PORTNAME=   SoXt
PORTVERSION=    1.3.0
PORTREVISION=   2
CATEGORIES= x11-toolkits
MASTER_SITES=   http://ftp.coin3d.org/coin/src/all/

MAINTAINER= 5u623l20@gmail.com
COMMENT=    GUI binding for using Open Inventor with Xt/Motif

LIB_DEPENDS=    libCoin.so:${PORTSDIR}/graphics/Coin

USES=       libtool motif pathfix perl5
USE_GL=     yes
USE_PERL5=  build
USE_XORG=   xi
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS+=    --with-pthread=yes --with-coin=${LOCALBASE}
# avoid renaming of soxt-config and soxt-config.1
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

post-patch:
    ${REINPLACE_CMD} -e "s,echo aout, echo elf," ${WRKSRC}/configure

.include <bsd.port.mk>