51465be37e
In file included from sources/game.cpp:28: In file included from sources/target.h:21: In file included from /usr/local/include/ClanLib-2.3/ClanLib/display.h:112: In file included from /usr/local/include/ClanLib-2.3/ClanLib/Display/TargetProviders/display_window_provider.h:44: /usr/local/include/ClanLib-2.3/ClanLib/Display/TargetProviders/../Window/display_window.h:48:10: fatal error: 'X11/Xlib.h' file not found #include <X11/Xlib.h> ^
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= super_methane_brothers
|
|
PORTVERSION= 1.5.1
|
|
PORTREVISION= 9
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/methane/Methane%20Stable/Methane%20V${PORTVERSION}
|
|
DISTNAME= methane-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Port of the Amiga platform game of the same name
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libclan23Core.so:devel/clanlib
|
|
|
|
USES= gmake localbase pkgconfig tar:tgz
|
|
MAKE_ENV= METHANE_FLAGS="${CPPFLAGS}" METHANE_LIBS="${LIBS}"
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
LIBS+= -lexecinfo
|
|
|
|
DATADIR= ${PREFIX}/share/methane
|
|
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
PLIST_FILES= bin/methane
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-2.2|-2.3|g ; \
|
|
s|FLAGS =|FLAGS +=| ; \
|
|
s|LIBS =|LIBS +=| ; \
|
|
s|g++|$${CXX}| ; \
|
|
s|gcc|$${CXX}|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/methane ${STAGEDIR}${PREFIX}/bin
|
|
cd ${WRKSRC}/resources && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@(cd ${WRKDIR}/${DISTNAME}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|