2002-11-25 04:08:50 +00:00
|
|
|
# New ports collection makefile for: reallyslick
|
|
|
|
# Date created: 24 Nov 2002
|
2007-07-05 23:39:06 +00:00
|
|
|
# Whom: David Yeske <dyeske@gmail.com>
|
2002-11-25 04:08:50 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= reallyslick
|
2006-04-25 02:20:48 +00:00
|
|
|
PORTVERSION= 0.8.1
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 2
|
2002-11-25 04:08:50 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= rss-glx
|
2004-04-17 13:53:06 +00:00
|
|
|
DISTNAME= rss-glx_${PORTVERSION}
|
2002-11-25 04:08:50 +00:00
|
|
|
|
2007-07-05 23:39:06 +00:00
|
|
|
MAINTAINER= dyeske@gmail.com
|
2003-02-21 12:17:17 +00:00
|
|
|
COMMENT= OpenGL screensaver collection
|
2002-11-25 04:08:50 +00:00
|
|
|
|
2006-05-24 14:21:45 +00:00
|
|
|
LIB_DEPENDS= Wand.10:${PORTSDIR}/graphics/ImageMagick
|
2006-04-25 02:20:48 +00:00
|
|
|
|
2002-11-25 04:08:50 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_BZIP2= yes
|
2004-04-17 13:53:06 +00:00
|
|
|
USE_GL= yes
|
2002-11-25 04:08:50 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-04-25 02:20:48 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15:env
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-11-25 04:08:50 +00:00
|
|
|
|
2004-04-17 13:53:06 +00:00
|
|
|
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
|
2002-11-25 04:08:50 +00:00
|
|
|
|
|
|
|
post-patch:
|
2006-04-25 02:20:48 +00:00
|
|
|
.for file in config.guess config.sub ltmain.sh
|
|
|
|
${RM} ${WRKSRC}/${file}
|
|
|
|
${LN} -s ${LOCALBASE}/share/libtool/${file} ${WRKSRC}
|
|
|
|
.endfor
|
2002-11-25 04:08:50 +00:00
|
|
|
.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>
|