Skip to content

Commit

Permalink
graphics/zgv: Remove USES=makeinfo
Browse files Browse the repository at this point in the history
- Distfile ships with info files so no need to regenerate
- Pet portclippy
- Remove patch for the texi file as that was needed for the texinfo
  which was in base
  • Loading branch information
5u623l20 committed Oct 22, 2023
1 parent 0354113 commit 6e02e43
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 26 deletions.
27 changes: 12 additions & 15 deletions graphics/zgv/Makefile
Expand Up @@ -14,29 +14,26 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff

USES= gmake jpeg localbase:ldflags makeinfo
ALL_TARGET= zgv info
USES= gmake jpeg localbase:ldflags
ALL_TARGET= zgv
INFO= zgvrc

OPTIONS_DEFINE= SDL DOCS

SDL_LIB_DEPENDS_OFF= libvga.so:graphics/svgalib
SDL_USES= sdl
SDL_USE= SDL=sdl
SDL_MAKE_ENV= BACKEND=SDL
SDL_MAKE_ENV_OFF= BACKEND=SVGALIB
SDL_CPPFLAGS= $$(${SDL_CONFIG} --cflags)
SDL_LDFLAGS= $$(${SDL_CONFIG} --libs)

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSDL}
USES+= sdl
USE_SDL= sdl
MAKE_ENV+= BACKEND=SDL
CPPFLAGS+= $$(${SDL_CONFIG} --cflags)
LDFLAGS+= $$(${SDL_CONFIG} --libs)
.else
LIB_DEPENDS+= libvga.so:graphics/svgalib
MAKE_ENV+= BACKEND=SVGALIB
ONLY_FOR_ARCHS= i386 amd64
.if empty(PORT_OPTIONS:MSDL)
ONLY_FOR_ARCHS= amd64 i386
.endif

post-extract:
@${RM} ${WRKSRC}/doc/zgv

post-patch:
@${REINPLACE_CMD} -e \
's|^CC=|#CC=|g ; \
Expand Down
11 changes: 0 additions & 11 deletions graphics/zgv/files/patch-zgv.texi

This file was deleted.

0 comments on commit 6e02e43

Please sign in to comment.