8e0041ffe3
attempts to repair.
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2009/02/11 01:43:44 sthen Exp $
|
|
|
|
COMMENT = physics-based drawing puzzle game
|
|
|
|
DISTNAME = numptyphysics-0.3.r20090104
|
|
PKGNAME = ${DISTNAME}p0
|
|
EXTRACT_SUFX = .tar.bz2
|
|
CATEGORIES = games
|
|
|
|
MAINTAINER = David Coppa <dcoppa@gmail.com>
|
|
|
|
HOMEPAGE = http://numptyphysics.garage.maemo.org/
|
|
|
|
MASTER_SITES = http://mirror.amdmi3.ru/
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
BROKEN = SIGBUS on sparc64 when starting
|
|
.endif
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = X11 c m pthread stdc++ z
|
|
|
|
RUN_DEPENDS = :desktop-file-utils-*:devel/desktop-file-utils
|
|
LIB_DEPENDS = SDL::devel/sdl \
|
|
SDL_image::devel/sdl-image
|
|
|
|
CONFIGURE_STYLE = autoconf automake no-autoheader
|
|
AUTOCONF_VERSION = 2.61
|
|
AUTOMAKE_VERSION = 1.9
|
|
|
|
CPPFLAGS = -I${LOCALBASE}/include \
|
|
-I${LOCALBASE}/include/libpng \
|
|
-I${X11BASE}/include
|
|
LDFLAGS = -pthread \
|
|
-L${LOCALBASE}/lib \
|
|
-L${X11BASE}/lib
|
|
CONFIGURE_ENV = CPPFLAGS="${CPPFLAGS}" \
|
|
LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS =--disable-hildon
|
|
|
|
WRKDIST = ${WRKDIR}/numptyphysics
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC}; AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} aclocal
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC}; AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ${SH} ./autogen.sh
|
|
@${SUBST_CMD} ${WRKSRC}/Config.h
|
|
|
|
.include <bsd.port.mk>
|