aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-02-21 00:13:27 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-02-21 00:13:27 +0000
commit219952004fb0eb89935f95f5961eea3328275630 (patch)
treeba1870287fed88616bb53f9bcd882c0e1453085e /x11-toolkits
parent82a2e006c2d7e9cbd30ea569d6bf96834f3d75cf (diff)
downloadports-219952004fb0eb89935f95f5961eea3328275630.tar.gz
ports-219952004fb0eb89935f95f5961eea3328275630.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/otk/Makefile25
-rw-r--r--x11-toolkits/otk/distinfo6
2 files changed, 17 insertions, 14 deletions
diff --git a/x11-toolkits/otk/Makefile b/x11-toolkits/otk/Makefile
index 6e71af3a97ef..81960054f3bb 100644
--- a/x11-toolkits/otk/Makefile
+++ b/x11-toolkits/otk/Makefile
@@ -6,31 +6,34 @@
#
PORTNAME= otk
-PORTVERSION= 0.64
-PORTREVISION= 1
+PORTVERSION= 0.80
CATEGORIES= x11-toolkits graphics
MASTER_SITES= SF
-DISTNAME= ${PORTNAME}_lib_${DISTVERSION}
+DISTNAME= ${PORTNAME}_lib_${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Widget library based on OpenGL
+WRKSRC= ${WRKDIR}/${PORTNAME}_lib
+
+USE_XORG= xmu xext x11
USE_GL= glut glu gl
USE_LDCONFIG= yes
-USE_XORG= xmu xext x11
-WRKSRC= ${WRKDIR}/${PORTNAME}_lib
-CFLAGS+= -I${LOCALBASE}/include -fPIC
+
+PLIST_FILES= include/gadget_lib.h include/otk_lib.h \
+ lib/libotk.so lib/libotk.so.0
+
+CPPFLAGS= -I${LOCALBASE}/include -fPIC
LDFLAGS= -lGLU -lGL -lXmu -lXext -lX11 -L${LOCALBASE}/lib
-PLIST_FILES= lib/libotk.so lib/libotk.so.0 include/gadget_lib.h include/otk_lib.h
do-build:
- @cd ${WRKSRC}/&&\
- ${CC} ${CFLAGS} ${LDFLAGS} -shared ./otk_lib.c -o libotk.so.0
+ cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -shared otk_lib.c \
+ -o libotk.so.0 ${LDFLAGS}
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/libotk.so.0 ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/libotk.so.0 ${PREFIX}/lib
@${LN} -sf libotk.so.0 ${PREFIX}/lib/libotk.so
- @${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/
+ ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include
.include <bsd.port.mk>
diff --git a/x11-toolkits/otk/distinfo b/x11-toolkits/otk/distinfo
index aa52ea813a41..ab3fa7db2fa7 100644
--- a/x11-toolkits/otk/distinfo
+++ b/x11-toolkits/otk/distinfo
@@ -1,3 +1,3 @@
-MD5 (otk_lib_0.64.tgz) = 2ae70effaaef5e964e3c552a59b2cd65
-SHA256 (otk_lib_0.64.tgz) = 9bfb8ff459e4ec0f74e34231fbc2e9fa49677601a4bf702aef355e274000b2c1
-SIZE (otk_lib_0.64.tgz) = 72292
+MD5 (otk_lib_0.80.tgz) = e91b4ca20f2e44eb75f9afb4c3665102
+SHA256 (otk_lib_0.80.tgz) = 98dc83947da271998c58d56083a05a50e960f9d3aeb663e049bbf25ca75933ba
+SIZE (otk_lib_0.80.tgz) = 85079