aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/twinlib/Makefile
blob: e46eed6b1d25f66b365c4a6152d5c26481398359 (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
# New ports collection makefile for:    twinlib
# Version required: ${VER}
# Date created:     04 Jan 2000
# Whom:         Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

DISTNAME=   twinlib.${VER}
PKGNAME=    twinlib-${VER}
CATEGORIES= graphics devel
MASTER_SITES=   http://rio.xdev.org/twinlib/
EXTRACT_SUFX=   .tgz

MAINTAINER= will@FreeBSD.org

BUILD_DEPENDS=  ${LOCALBASE}/bin/tmake:${PORTSDIR}/devel/tmake

VER=        0.2.3
USE_QT=     yes
USE_X_PREFIX=   yes
WRKSRC=     ${WRKDIR}/twinlib
MAKE_ENV+=  PREFIX=${PREFIX} CXX=${CXX}
VERSION=    0
PLIST_SUB+= VERSION=${VERSION}
MAKE_ENV+=  TMAKEPATH="${LOCALBASE}/share/tmake/freebsd-g++" \
        QTDIR="${X11BASE}"

do-install:
    @${INSTALL_DATA} ${WRKSRC}/TwinLib.h ${PREFIX}/include
    @${INSTALL_DATA} ${WRKSRC}/libTwinlib.so.${VER} ${PREFIX}/lib/libTwinlib.so.${VERSION}
    @${LN} -sf ${PREFIX}/libTwinlib.so.${VERSION} ${PREFIX}/lib/libTwinlib.so

.include <bsd.port.mk>