version 1.6, 2009/08/17 22:19:29 |
version 1.7, 2009/10/30 21:35:56 |
|
|
RUN_DEPENDS = :ufoai-data-${V}:games/ufoai-data |
RUN_DEPENDS = :ufoai-data-${V}:games/ufoai-data |
|
|
USE_X11 = Yes |
USE_X11 = Yes |
USE_LIBTOOL = Yes |
|
USE_GMAKE = Yes |
USE_GMAKE = Yes |
CONFIGURE_STYLE = gnu |
CONFIGURE_STYLE = gnu |
CONFIGURE_ARGS += --enable-release=yes \ |
CONFIGURE_ARGS += --enable-release=yes \ |
--with-shaders |
--with-shaders |
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" |
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng -I${X11BASE}/include" \ |
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -liconv -pthread" |
|
|
|
.if ${MACHINE_ARCH} == "i386" |
CONFIGURE_ARGS += --enable-mmx=yes |
CONFIGURE_ARGS += --enable-mmx=yes |
CONFIGURE_ENV += CFLAGS=-msse |
CONFIGURE_ENV += CFLAGS=-msse |
.endif |
.endif |
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng -I${X11BASE}/include" \ |
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -liconv -pthread" |
|
|
|
post-build: |
post-build: |
cd ${WRKSRC} && gmake lang |
cd ${WRKSRC} && gmake lang |