aboutsummaryrefslogtreecommitdiff
path: root/devel/directfb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/directfb/Makefile')
-rw-r--r--devel/directfb/Makefile94
1 files changed, 0 insertions, 94 deletions
diff --git a/devel/directfb/Makefile b/devel/directfb/Makefile
deleted file mode 100644
index 72cfd0e819b0..000000000000
--- a/devel/directfb/Makefile
+++ /dev/null
@@ -1,94 +0,0 @@
-PORTNAME= directfb
-PORTVERSION= 1.4.17
-PORTREVISION= 4
-CATEGORIES= devel
-MASTER_SITES= http://sources.buildroot.net/
-DISTNAME= DirectFB-${PORTVERSION}
-
-MAINTAINER= bofh@FreeBSD.org
-COMMENT= Graphic development lightweight API
-WWW= https://www.directfb.org/
-
-LICENSE= LGPL21
-
-DEPRECATED= Last upstream release was in 2015
-EXPIRATION_DATE= 2023-09-30
-
-LIB_DEPENDS= libpng.so:graphics/png
-
-USES= compiler cpe gmake jpeg libtool localbase ncurses pathfix perl5 pkgconfig
-USE_LDCONFIG= yes
-USE_PERL5= build
-
-GNU_CONFIGURE= yes
-USE_CXXSTD= c++14
-CONFIGURE_ARGS= --disable-osx --disable-extra-warnings --disable-profiling \
- --disable-debug --enable-debug-support --disable-trace \
- --enable-text --enable-gettid --enable-network \
- --disable-multi --enable-voodoo --disable-pure-voodoo \
- --enable-devmem --disable-fbdev --disable-vnc --disable-sysfs \
- --enable-jpeg --enable-zlib --enable-png --enable-gif \
- --disable-linotype --disable-video4linux \
- --disable-video4linux2 --with-gfxdrivers=all \
- --with-inputdrivers=all --with-smooth-scaling \
- --with-dither-rgb16=advanced
-
-INSTALL_TARGET= install-strip
-
-PLIST_SUB+= DIRECTFB_VERSION="${PORTVERSION}" \
- DIRECTFB_RELEASE="${PORTVERSION:R}" \
- DIRECTFB_SHLIB="${DIRECTFB_SHLIB}" \
- DIRECTFB_BIN="${DIRECTFB_BIN}"
-PORTDOCS= *
-
-OPTIONS_DEFINE= FREETYPE X11 SDL UNIQUE TEST DOCS
-OPTIONS_DEFAULT= FREETYPE X11 SDL
-OPTIONS_SUB= yes
-
-UNIQUE_DESC= Unique (WM Module)
-
-DIRECTFB_SHLIB= 6.0.11 # LT_BINARY.LT_AGE.LT_REVISION
-DIRECTFB_BIN= ${DIRECTFB_SHLIB:R:R} # LT_BINARY
-
-DOCS_BUILD_DEPENDS= man2html:textproc/man2html
-FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
-FREETYPE_CONFIGURE_ENABLE= freetype
-SDL_USES= sdl
-SDL_USE= sdl=sdl
-SDL_CONFIGURE_ENABLE= sdl
-TEST_CONFIGURE_WITH= tests
-UNIQUE_CONFIGURE_ENABLE= unique
-X11_USES= xorg
-X11_USE= XORG=x11,xext,xorgproto
-X11_CONFIGURE_ENABLE= x11
-
-.include <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 150
-CFLAGS+= -Wno-error=int-conversion
-.endif
-
-# assembly files use old split syntax which clang doesn't like
-.if ${ARCH:Marmv?} && ${COMPILER_TYPE} == "clang"
-BUILD_DEPENDS+= as:devel/binutils
-CFLAGS+= -fno-integrated-as
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e \
- '/need_libc_r=yes/d ; \
- s|/usr/local|${LOCALBASE}|g ; s|/usr/X11R6|${LOCALBASE}|g' \
- ${WRKSRC}/configure
- @${GREP} -lr alloca\.h ${WRKSRC} | ${XARGS} \
- ${REINPLACE_CMD} -e 's|<alloca\.h>|<stdlib.h>|g'
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}/html
-.for f in AUTHORS ChangeLog NEWS README TODO fb.modes docs/README.screenshots docs/*.html
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-.for f in docs/html/*.html docs/html/*.png
- ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/html
-.endfor
-
-.include <bsd.port.post.mk>