1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/graphics/reallyslick/Makefile
Martin Wilke 3072465f67 - Fix build
PR:		124089
Submitted by:	Ganael Laplanche <ganael.laplanche@martymac.com>
Approved by:	maintainer
2008-06-05 23:38:34 +00:00

50 lines
1.4 KiB
Makefile

# New ports collection makefile for: reallyslick
# Date created: 24 Nov 2002
# Whom: David Yeske <dyeske@gmail.com>
#
# $FreeBSD$
#
PORTNAME= reallyslick
PORTVERSION= 0.8.1
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rss-glx
DISTNAME= rss-glx_${PORTVERSION}
MAINTAINER= dyeske@gmail.com
COMMENT= OpenGL screensaver collection
LIB_DEPENDS= MagickWand.1:${PORTSDIR}/graphics/ImageMagick
USE_BZIP2= yes
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15:env
CPPFLAGS+= -I${LOCALBASE}/include `Magick-config --cflags`
LDFLAGS+= -L${LOCALBASE}/lib `Magick-config --libs`
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
MAN1= biof.1 busyspheres.1 colorfire.1 cyclone.1 euphoria.1 fieldlines.1 flocks.1 \
flux.1 helios.1 hufo_smoke.1 hufo_tunnel.1 lattice.1 matrixview.1 \
plasma.1 skyrocket.1 solarwinds.1 spirographx.1 sundancer2.1
post-patch:
.for file in config.guess config.sub ltmain.sh
${RM} ${WRKSRC}/${file}
${LN} -s ${LOCALBASE}/share/libtool/${file} ${WRKSRC}
.endfor
.for file in oglc_src/Makefile.in other_src/Makefile.in \
reallyslick/c_src/Makefile.in reallyslick/cpp_src/Makefile.in
@${REINPLACE_CMD} -E -e 's|(@LIBS@)|\1 -lXext|' ${WRKSRC}/${file}
.endfor
# fix lib detection
@${REINPLACE_CMD} -E -e 's@^(LIBS.*-l(GL|MesaGL|GLU))@\1 -lXext@' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>