1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/burrtools/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

64 lines
1.7 KiB
Makefile

# Created by: ijliao
PORTNAME= burrtools
PORTVERSION= 0.6.3
PORTREVISION= 19
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Puzzle solver
LICENSE= GPLv2+ # COPYING is GPLv3
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libpng.so:graphics/png \
libfltk.so:x11-toolkits/fltk
USES= gl gmake localbase lua:51
USE_GL= gl glu
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_lib_ICE_IceConnectionNumber="no" \
ac_cv_search_glutInit="none required"
MAKE_ARGS= am_lua_liblua_a_OBJECTS='lua/luaclass.$$(OBJEXT)'
LDFLAGS+= -Wl,--as-needed # fltk deps
LIBS+= -llua-${LUA_VER} -lboost_system # _ZN5boost6system15system_categoryEv
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/burrTxt bin/burrTxt2 bin/burrGui \
share/pixmaps/burricons.png
DESKTOP_ENTRIES="BurrGui" "" "burricons" "burrGui" "Game;LogicGame;" ""
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
${REINPLACE_CMD} -e '/GL_X_LIBS/d' ${WRKSRC}/configure
${REINPLACE_CMD} -e \
's|g++ |$$(CXX) | ; \
s|-O2 |$$(CXXFLAGS) $$(LDFLAGS) |' ${WRKSRC}/src/Makefile.in
post-build:
(cd ${WRKSRC} && uudecode ${FILESDIR}/burricons.png.uu)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/burrTxt ${WRKSRC}/src/burrTxt2 \
${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/gui/burrGui ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/burricons.png ${STAGEDIR}${PREFIX}/share/pixmaps
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS ChangeLog NEWS README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>