aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/otk
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-02-21 08:13:27 +0800
committermiwi <miwi@FreeBSD.org>2009-02-21 08:13:27 +0800
commitc806b24205cc640a9bd596fe2639e4226baecb13 (patch)
tree941f3332d81e35a5c9e27eb9a0c88db335ff21db /x11-toolkits/otk
parentb0e4290bf1d3ca311a859c64500df8659aeabf3b (diff)
downloadfreebsd-ports-gnome-c806b24205cc640a9bd596fe2639e4226baecb13.tar.gz
freebsd-ports-gnome-c806b24205cc640a9bd596fe2639e4226baecb13.tar.zst
freebsd-ports-gnome-c806b24205cc640a9bd596fe2639e4226baecb13.zip
- Update to 0.80
PR: 131848 Submitted by: Ports Fury
Diffstat (limited to 'x11-toolkits/otk')
-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