43 lines
938 B
Makefile
43 lines
938 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= allegro
|
|
DISTVERSION= 4.4.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/alleg/allegro/${PORTVERSION}
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= nemysis@gmx.ch
|
|
COMMENT= 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
|
|
USE_PKGCONFIG= build
|
|
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.2
|
|
|
|
PORTSCOUT= limit:^4\.3\.[0-9]*
|
|
|
|
CFLAGS+= -L${LOCALBASE}/lib
|
|
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib \
|
|
jack.0:${PORTSDIR}/audio/jack \
|
|
png15:${PORTSDIR}/graphics/png
|
|
|
|
post-install:
|
|
@cd ${WRKSRC}/docs/man/ && \
|
|
${FIND} . -type f -and -name "*.3" -exec ${INSTALL_MAN} {} ${PREFIX}/man/man3/{} \;
|
|
|
|
.include <bsd.port.mk>
|