mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
dd3adcb19b
Dave Shar <koalative at gmail.com> wishes to maintain these ports with my help. audio/portaudio - Pass maintainership to koalative at gmail.com audio/portaudio2 - Pass maintainership to koalative at gmail.com deskutils/parcellite - Pass maintainership to koalative at gmail.com devel/allegro - Change Makefile header, add Created by Jimmy Olgeni <olgeni@FreeBSD.org> - Pass maintainership to koalative at gmail.com devel/allegro-devel - Change Makefile header, use my name and @FreeBSD.org email - Pass maintainership to koalative at gmail.com emulators/q4wine - Remove not needed linie - Pass maintainership to koalative at gmail.com emulators/swine - Change Makefile header, use my name and @FreeBSD.org email - Pass maintainership to koalative at gmail.com finance/venice - Pass maintainership to koalative at gmail.com graphics/glfw - Pass maintainership to koalative at gmail.com graphics/glfw2 - Pass maintainership to koalative at gmail.com graphics/xsane - Pass maintainership to koalative at gmail.com textproc/loook - Pass maintainership to koalative at gmail.com
69 lines
1.7 KiB
Makefile
69 lines
1.7 KiB
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= glfw
|
|
PORTVERSION= 3.0.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= koalative@gmail.com
|
|
COMMENT= Portable framework for OpenGL development
|
|
|
|
LICENSE= ZLIB
|
|
|
|
USES= cmake
|
|
USE_XORG= xi xrandr
|
|
USE_GL= glu
|
|
USE_GCC= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= *
|
|
|
|
DOCSRCDIR1= ${WRKSRC}
|
|
DOC_FILES1= README.md
|
|
|
|
DOCSRCDIR2= ${WRKSRC}/docs/html/search
|
|
DOCSDIR2= ${DOCSDIR}/docs/html/search
|
|
DOC_FILES2= *
|
|
|
|
DOCSRCDIR3= ${WRKSRC}/docs/html
|
|
DOCSDIR3= ${DOCSDIR}/docs/html
|
|
DOC_FILES3= *.html *.png *.css *.js
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
EXAMPLESSRCDIR1= ${WRKSRC}/examples
|
|
EXAMPLES_FILES1= boing gears heightmap simple splitview wave
|
|
|
|
EXAMPLESSRCDIR2= ${WRKSRC}/tests
|
|
EXAMPLESDIR2= ${EXAMPLESDIR}/tests
|
|
EXAMPLES_FILES2= accuracy clipboard defaults events fsaa gamma glfwinfo \
|
|
iconify joysticks modes peter reopen sharing tearing \
|
|
threads title windows
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR2}
|
|
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
|
|
${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR1}/|} \
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR2}
|
|
${INSTALL_PROGRAM} ${EXAMPLES_FILES2:S|^|${EXAMPLESSRCDIR2}/|} \
|
|
${STAGEDIR}${EXAMPLESDIR2}
|
|
|
|
.include <bsd.port.mk>
|