2000-04-07 01:34:42 +00:00
|
|
|
# New ports collection makefile for: twinlib
|
2000-01-29 05:14:05 +00:00
|
|
|
# Date created: 04 Jan 2000
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 10:48:02 +00:00
|
|
|
PORTNAME= twinlib
|
|
|
|
PORTVERSION= 0.2.3
|
2000-01-29 05:14:05 +00:00
|
|
|
CATEGORIES= graphics devel
|
2000-07-19 15:24:51 +00:00
|
|
|
MASTER_SITES= http://nroard.free.fr/twinlib/
|
2000-04-14 10:48:02 +00:00
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
2000-01-29 05:14:05 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-06-22 05:52:15 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-01-29 05:14:05 +00:00
|
|
|
|
2000-04-07 01:34:42 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/tmake:${PORTSDIR}/devel/tmake
|
|
|
|
|
|
|
|
USE_QT= yes
|
2000-01-29 05:14:05 +00:00
|
|
|
USE_X_PREFIX= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-04-07 01:34:42 +00:00
|
|
|
WRKSRC= ${WRKDIR}/twinlib
|
2000-01-29 05:14:05 +00:00
|
|
|
MAKE_ENV+= PREFIX=${PREFIX} CXX=${CXX}
|
|
|
|
VERSION= 0
|
|
|
|
PLIST_SUB+= VERSION=${VERSION}
|
2000-04-07 01:34:42 +00:00
|
|
|
MAKE_ENV+= TMAKEPATH="${LOCALBASE}/share/tmake/freebsd-g++" \
|
|
|
|
QTDIR="${X11BASE}"
|
2000-01-29 05:14:05 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-04-07 01:34:42 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/TwinLib.h ${PREFIX}/include
|
2000-04-14 10:48:02 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/libTwinlib.so.${PORTVERSION} ${PREFIX}/lib/libTwinlib.so.${VERSION}
|
2000-04-07 01:34:42 +00:00
|
|
|
@${LN} -sf ${PREFIX}/libTwinlib.so.${VERSION} ${PREFIX}/lib/libTwinlib.so
|
2000-01-29 05:14:05 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|