freebsd-ports/x11-toolkits/otk/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

36 lines
829 B
Makefile

# New ports collection makefile for: otk
# Date created: 21 Jan 2006
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
#
# $FreeBSD$
#
PORTNAME= otk
PORTVERSION= 0.53
PORTREVISION= 1
CATEGORIES= x11-toolkits graphics
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_lib_${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Widget library based on OpenGL
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
USE_GL= yes
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}_lib
PLIST_FILES= lib/libotk.a include/gadget_lib.h include/otk_lib.h
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} -I${X11BASE}/include -c ./otk_lib.c && \
ar q ./libotk.a ./otk_lib.o && ranlib ./libotk.a
do-install:
${INSTALL_DATA} ${WRKSRC}/libotk.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include
.include <bsd.port.mk>