diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-09-11 17:28:43 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-09-11 17:28:43 +0000 |
commit | 7679ec76b0071e9fb94a342d7f36afa72e171c20 (patch) | |
tree | a3b28e0523faf5ccf00b420862938b6fdc3dafdb /graphics/glx-utils/Makefile | |
parent | e17f5d81680d59139d4fb618c5a60311919363cf (diff) |
Notes
Diffstat (limited to 'graphics/glx-utils/Makefile')
-rw-r--r-- | graphics/glx-utils/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/glx-utils/Makefile b/graphics/glx-utils/Makefile new file mode 100644 index 000000000000..f2a4a4514071 --- /dev/null +++ b/graphics/glx-utils/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= glx-utils +DISTVERSIONPREFIX= ${GL_ACCOUNT}-${GL_PROJECT}- +DISTVERSION= 8.4.0-43 +CATEGORIES= graphics + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= List GLX capabilities and simple renderer + +LICENSE= MIT + +CONFLICTS_INSTALL= mesa-demos + +USES= gl localbase:ldflags xorg +USE_GITLAB= yes +USE_GL= gl +USE_XORG= x11 +GL_SITE= https://gitlab.freedesktop.org +GL_ACCOUNT= mesa +GL_PROJECT= demos +GL_COMMIT= 0de7436be906b720f503668609404c97ea3a124b +WRKSRC_SUBDIR= src/xdemos +PLIST_FILES= bin/glxgears \ + bin/glxinfo \ + ${NULL} + +do-build: + (cd ${WRKSRC} && ${CC} ${CFLAGS} -o glxinfo glxinfo.c glinfo_common.c ${LDFLAGS} -lGL -lX11) + (cd ${WRKSRC} && ${CC} ${CFLAGS} -o glxgears glxgears.c ${LDFLAGS} -lGL -lX11 -lm) + +do-install: + ${INSTALL_PROGRAM} ${PLIST_FILES:Mbin/*:S,^bin,${WRKSRC},} \ + ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> |