mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
4e5520e0fe
Approved by: maintainer
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# New ports collection makefile for: allegro
|
|
# Date created: 23-Feb-2001
|
|
# Whom: Jimmy Olgeni <olgeni@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= allegro
|
|
DISTVERSION= 4.4.1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/alleg/allegro/${PORTVERSION}
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= cyberbotx@cyberbotx.com
|
|
COMMENT= A cross-platform library for games and multimedia programming
|
|
|
|
USE_GMAKE= yes
|
|
USE_CMAKE= yes
|
|
USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga
|
|
USE_LDCONFIG= yes
|
|
WANT_GNOME= yes
|
|
USE_GL= gl glu
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
.include "Makefile.man"
|
|
INFO= allegro
|
|
|
|
CONFLICTS= allegro-[0-9]*
|
|
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
|
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
|
CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}"
|
|
|
|
SHLIB_VER= 4.4.1
|
|
|
|
PORTSCOUT= limit:^4\.3\.[0-9]*
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
CFLAGS+= -L${LOCALBASE}/lib
|
|
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib \
|
|
jack.0:${PORTSDIR}/audio/jack \
|
|
png.6:${PORTSDIR}/graphics/png
|
|
post-install:
|
|
@cd ${WRKSRC}/docs/man/ && \
|
|
${FIND} . -type f -and -name "*.3" -exec ${INSTALL_MAN} {} ${PREFIX}/man/man3/{} \;
|
|
|
|
.include <bsd.port.post.mk>
|