svn commit: r568692 - in head/graphics: . anttweakbar anttweakbar/files

Yuri Victorovich yuri at FreeBSD.org
Wed Mar 17 22:27:34 UTC 2021


Author: yuri
Date: Wed Mar 17 22:27:32 2021
New Revision: 568692
URL: https://svnweb.freebsd.org/changeset/ports/568692

Log:
  New port: graphics/anttweakbar: C library to add light and GUI into graphic apps

Added:
  head/graphics/anttweakbar/
  head/graphics/anttweakbar/Makefile   (contents, props changed)
  head/graphics/anttweakbar/distinfo   (contents, props changed)
  head/graphics/anttweakbar/files/
  head/graphics/anttweakbar/files/patch-Makefile   (contents, props changed)
  head/graphics/anttweakbar/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Wed Mar 17 21:09:38 2021	(r568691)
+++ head/graphics/Makefile	Wed Mar 17 22:27:32 2021	(r568692)
@@ -53,6 +53,7 @@
     SUBDIR += ampasCTL
     SUBDIR += animorph
     SUBDIR += ansilove
+    SUBDIR += anttweakbar
     SUBDIR += aoi
     SUBDIR += apngasm
     SUBDIR += apngdis

Added: head/graphics/anttweakbar/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/anttweakbar/Makefile	Wed Mar 17 22:27:32 2021	(r568692)
@@ -0,0 +1,43 @@
+# $FreeBSD$
+
+PORTNAME=	anttweakbar
+DISTVERSION=	1.16
+CATEGORIES=	graphics
+MASTER_SITES=	SF/${PORTNAME}/
+DISTNAME=	AntTweakBar_${DISTVERSION:S/.//}
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	C library to add light and GUI into graphic apps
+
+LICENSE=	ZLIB
+LICENSE_FILE=	${WRKSRC}/../License.txt
+
+USES=		dos2unix gl xorg zip
+USE_GL=		gl glu
+USE_XORG=	x11
+USE_LDCONFIG=	yes
+
+WRKSRC=		${WRKDIR}/AntTweakBar
+WRKSRC_SUBDIR=	src
+
+DOS2UNIX_FILES=	Makefile
+
+LDFLAGS+=	-L${LOCALBASE}/lib -lX11
+
+BINARY_ALIAS=	gcc=${CC}
+
+PLIST_FILES=	include/AntTweakBar.h \
+		lib/libAntTweakBar.a \
+		lib/libAntTweakBar.so \
+		lib/libAntTweakBar.so.${DISTVERSION:R} \
+		lib/libAntTweakBar.so.${DISTVERSION}
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/../include/AntTweakBar.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/../lib/libAntTweakBar.a ${STAGEDIR}${PREFIX}/lib
+	${INSTALL_LIB} ${WRKSRC}/../lib/libAntTweakBar.so ${STAGEDIR}${PREFIX}/lib/libAntTweakBar.so.${DISTVERSION}
+	cd ${STAGEDIR}${PREFIX}/lib && \
+		${LN} -s libAntTweakBar.so.${DISTVERSION} libAntTweakBar.so.${DISTVERSION:R} && \
+		${LN} -s libAntTweakBar.so.${DISTVERSION} libAntTweakBar.so
+
+.include <bsd.port.mk>

Added: head/graphics/anttweakbar/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/anttweakbar/distinfo	Wed Mar 17 22:27:32 2021	(r568692)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1616015883
+SHA256 (AntTweakBar_116.zip) = fbceb719c13ceb13b9fd973840c2c950527b6e026f9a7a80968c14f76fcf6e7c
+SIZE (AntTweakBar_116.zip) = 4492138

Added: head/graphics/anttweakbar/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/anttweakbar/files/patch-Makefile	Wed Mar 17 22:27:32 2021	(r568692)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2021-03-17 22:07:56 UTC
++++ Makefile
+@@ -66,7 +66,7 @@ all: 	Makefile $(TARGET)
+ 
+ $(TARGET): $(OBJS)
+ 	@echo "===== Link $@ ====="
+-	$(LINK) $(LFLAGS) -shared -Wl,-soname,lib$(TARGET)$(SO_EXT).$(SO_VERSION) -o $(OUT_DIR)/lib$(TARGET)$(SO_EXT) $(OBJS) $(LIBS)
++	$(LINK) $(LFLAGS) -shared -Wl,-soname,lib$(TARGET)$(SO_EXT).$(SO_VERSION) -o $(OUT_DIR)/lib$(TARGET)$(SO_EXT) $(OBJS) $(LIBS) $(LDFLAGS)
+ 	$(SYMLINK) $(OUT_DIR)/lib$(TARGET)$(SO_EXT) $(OUT_DIR)/lib$(TARGET)$(SO_EXT).$(SO_VERSION)
+ 	$(AR) $(OUT_DIR)/lib$(TARGET)$(AR_EXT) $(OBJS) $(LIBS)
+ 

Added: head/graphics/anttweakbar/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/anttweakbar/pkg-descr	Wed Mar 17 22:27:32 2021	(r568692)
@@ -0,0 +1,6 @@
+AntTweakBar is a small and easy-to-use C/C++ library that allows programmers to
+quickly add a light and intuitive graphical user interface into graphic
+applications based on OpenGL (compatibility and core profiles), DirectX 9,
+DirectX 10 or DirectX 11 to interactively tweak parameters on-screen.
+
+WWW: http://anttweakbar.sourceforge.net/doc/


More information about the svn-ports-head mailing list