mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
74c65ae602
- Bump PORTREVISION on ports depending on it, since the shlib version changed
50 lines
1.6 KiB
Makefile
50 lines
1.6 KiB
Makefile
# Created by: Ganael LAPLANCHE <ganael.laplanche@martymac.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openalchemist
|
|
PORTVERSION= 0.3
|
|
PORTREVISION= 16
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Tetris-like game
|
|
|
|
LICENSE= GPLv2 CCbySA
|
|
LICENSE_COMB= multi
|
|
LICENSE_NAME_CCbySA= Creative Commons Attribution-ShareAlike
|
|
LICENSE_FILE_CCbySA= ${WRKSRC}/GRAPHICS-LICENSE
|
|
LICENSE_PERMS_CCbySA= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
|
LIB_DEPENDS= libclanCore.so:${PORTSDIR}/devel/clanlib1 \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
libpng15.so:${PORTSDIR}/graphics/png
|
|
|
|
USE_AUTOTOOLS= aclocal automake autoconf
|
|
# Necessary to find pkg.m4 (PKG_CHECK_MODULES)
|
|
ACLOCAL_ARGS+= -I ${LOCALBASE}/share/aclocal
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= pygtk2
|
|
USE_XORG= xxf86vm xi x11 xmu xext xdamage xfixes xau xdmcp xt sm ice
|
|
USE_GL= gl glu
|
|
USE_SDL= sdl gfx
|
|
USES= pkgconfig iconv shebangfix gmake
|
|
SHEBANG_FILES= openalchemist-config
|
|
|
|
PORTDOCS= AUTHORS ChangeLog README TODO
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E -e 's|0.8|1.0|g' -e 's|^%|#|g' ${WRKSRC}/configure.ac
|
|
@${REINPLACE_CMD} -E -e 's|0.8|1.0|g' ${WRKSRC}/build/Makefile.am
|
|
@${REINPLACE_CMD} -E -e 's|^dist_pkgdata_DATA =.*|dist_pkgdata_DATA = data/* skins/aqua.zip skins/brushed.zip skins/vectoriel.zip|g' ${WRKSRC}/Makefile.am
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|