1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/devel/clanlib1/Makefile
Tijl Coosemans dd6f9aecd2 Convert graphics/sdl_gfx to USES=libtool. Also set USE_AUTOTOOLS because
upstream forgot to regenerate the build scripts.  This makes the build use
the correct version information and causes a library version bump.  Use
this opportunity to use USES=libtool instead of USES=libtool:oldver.
Bump PORTREVISION on all dependent ports and convert them to USES=libtool
where needed.  Also use USES=(gmake, pathfix, tar) and new LIB_DEPENDS
syntax here and there.

games/freedink-engine:
- Option helpers.
- Staging.
- Use dirrmtry for locale directories.

games/oolite:
- Staging.
- Replace ECHO with ECHO_CMD.
- Don't use GNUSTEP_PREFIX to install files because it expands to
  LOCALBASE rather than PREFIX.

games/openssn:
- Remove USES=desktop-file-utils.  No MimeType field in desktop file.
- Staging.
- Install files in standard DATADIR.

games/xblast:
- Use proper options.
- Staging.
- Patch configure so normal make install can be used instead of do-install.
- Replace TAR | TAR with COPYTREE_SHARE.
2014-05-02 14:16:49 +00:00

52 lines
1.2 KiB
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= clanlib
PORTVERSION= 1.0.0
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.clanlib.org/download/releases-1.0/
DISTNAME= ClanLib-${PORTVERSION}
PKGNAMESUFFIX= 1
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Cross-platform game SDK
LICENSE= ZLIB
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png \
libmikmod.so:${PORTSDIR}/audio/libmikmod \
libvorbis.so:${PORTSDIR}/audio/libvorbis
USES= gmake libtool pathfix pkgconfig
USE_XORG= x11 xi
USE_LDCONFIG= yes
USE_SDL= gfx
USE_GL= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-docs \
--enable-clanDisplay \
--enable-clanGL \
--enable-clanSDL \
--enable-clanSound \
--enable-clanNetwork \
--enable-clanGUI \
--enable-clanMikMod \
--enable-clanVorbis \
--enable-getaddr
PLIST_SUB+= VER=${PORTVERSION:R}
post-patch:
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|SDL/SDL|SDL|g'
@${REINPLACE_CMD} -e 's|@perl_exec@|${PERL}|g' \
${WRKSRC}/Documentation/Utilities/webbuilder.pl.in
.include <bsd.port.mk>