freebsd-ports/devel/guichan/Makefile
Jan Beich d8c4632f05 devel/guichan: fix underlinking of external dependencies
ld: error: /usr/local/lib/libguichan_allegro.so: undefined reference to destroy_font
ld: error: /usr/local/lib/libguichan_opengl.so: undefined reference to glBindTexture
ld: error: /usr/local/lib/libguichan_sdl.so: undefined reference to SDL_FillRect
ld: error: /usr/local/lib/libguichan_sdl.so: undefined reference to IMG_Load
2019-04-05 22:16:01 +00:00

40 lines
980 B
Makefile

# Created by: Tobias Gion <freebsd@gionet.de>
# $FreeBSD$
PORTNAME= guichan
PORTVERSION= 0.8.2
PORTREVISION= 13
CATEGORIES= devel games
MASTER_SITES= http://pkgs.fedoraproject.org/repo/pkgs/guichan/${DISTFILES}/af535d7f387e774e3197cef8023ea105/
MAINTAINER= ports@FreeBSD.org
COMMENT= Small, efficient C++ GUI library designed for games
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake pathfix libtool localbase:ldflags
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
OPTIONS_DEFINE= SDL ALLEGRO OPENGL DOCS
OPTIONS_DEFAULT= SDL OPENGL
OPTIONS_SUB= yes
SDL_USE= SDL=sdl,image
SDL_CONFIGURE_ENABLE= sdl sdlimage
ALLEGRO_DESC= Allegro support
ALLEGRO_LIB_DEPENDS= liballeg.so:devel/allegro
ALLEGRO_CONFIGURE_ENABLE=allegro
OPENGL_USE= GL=gl
OPENGL_CONFIGURE_ENABLE=opengl
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>