mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
cc95712fbe
Changes: http://www.boost.org/users/history/version_1_67_0.html PR: 227427 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D15030
67 lines
1.8 KiB
Makefile
67 lines
1.8 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= burrtools
|
|
PORTVERSION= 0.6.3
|
|
PORTREVISION= 12
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Puzzle solver
|
|
|
|
LICENSE= GPLv2+ # COPYING is GPLv3
|
|
|
|
BUILD_DEPENDS= netpbm>0:graphics/netpbm
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
|
libpng.so:graphics/png \
|
|
libfltk.so:x11-toolkits/fltk
|
|
|
|
USES= 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} && ${CAT} burricons.ico | winicontoppm -bestqual | \
|
|
pnmtopng -transparent=black > burricons.png)
|
|
|
|
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>
|