mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
6483d7e6e5
gui/sys_endian.h:66:58: error: unsupported inline asm: input with type 'int' matching output with type 'u16_t' (aka 'unsigned short') __asm__("rlwimi %0,%2,8,16,23" : "=&r" (result) : "0" (x >> 8), "r" (x)); ~~~~~~ ^~~~~~
52 lines
1.6 KiB
Makefile
52 lines
1.6 KiB
Makefile
PORTNAME= oblige
|
|
PORTVERSION= 7.70
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/Oblige/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}-source
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Random map generator for classic FPS games
|
|
WWW= https://oblige.sourceforge.net/
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/glbsp.h:games/glbsp
|
|
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
libphysfs.so:devel/physfs \
|
|
libpng.so:graphics/png
|
|
|
|
USES= dos2unix gmake jpeg xorg zip
|
|
DOS2UNIX_FILES= ajpoly_src/pl_endian.h gui/sys_endian.h
|
|
USE_XORG= x11 xcursor xext xfixes xft xinerama xrender
|
|
WRKSRC= ${WRKDIR}/Oblige-${PORTVERSION}-source
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt
|
|
|
|
post-extract:
|
|
@cd ${WRKSRC} && ${RM} -r glbsp_src physfs_src
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Oblige ${STAGEDIR}${PREFIX}/bin/oblige
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "addons data engines games \
|
|
language modules scripts" ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/misc/oblige.desktop \
|
|
${STAGEDIR}${PREFIX}/share/applications
|
|
${INSTALL_DATA} ${WRKSRC}/misc/oblige.xpm \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
|
|
${INSTALL_DATA} ${WRKSRC}/misc/icon_128x128.png \
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/oblige.png
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} changelogs ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
PATCH_ARGS+= -l
|