Lines 6-16
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= reallyslick |
8 |
PORTNAME= reallyslick |
9 |
PORTVERSION= 0.8.1 |
9 |
PORTVERSION= 0.9.0 |
10 |
PORTREVISION= 5 |
|
|
11 |
CATEGORIES= graphics |
10 |
CATEGORIES= graphics |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= SF/rss-glx |
13 |
MASTER_SITE_SUBDIR= rss-glx |
|
|
14 |
DISTNAME= rss-glx_${PORTVERSION} |
12 |
DISTNAME= rss-glx_${PORTVERSION} |
15 |
|
13 |
|
16 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
Lines 18-49
Link Here
|
18 |
|
16 |
|
19 |
LIB_DEPENDS= MagickWand.2:${PORTSDIR}/graphics/ImageMagick |
17 |
LIB_DEPENDS= MagickWand.2:${PORTSDIR}/graphics/ImageMagick |
20 |
|
18 |
|
|
|
19 |
OPTIONS= FREEALUT "Enable freealut support" off \ |
20 |
GLEW "Enable GLEW support" off |
21 |
|
21 |
USE_BZIP2= yes |
22 |
USE_BZIP2= yes |
22 |
USE_GL= yes |
23 |
USE_GL= glu |
|
|
24 |
USE_GNOME= gnomehack |
23 |
USE_GMAKE= yes |
25 |
USE_GMAKE= yes |
24 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
25 |
USE_AUTOTOOLS= libtool:15:env |
27 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
26 |
|
28 |
|
27 |
CPPFLAGS+= -I${LOCALBASE}/include `Magick-config --cflags` |
29 |
MAN1= biof.1 busyspheres.1 colorfire.1 cyclone.1 drempels.1 \ |
28 |
LDFLAGS+= -L${LOCALBASE}/lib `Magick-config --libs` |
30 |
euphoria.1 feedback.1 fieldlines.1 flocks.1 flux.1 \ |
29 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ |
31 |
helios.1 hufo_smoke.1 hufo_tunnel.1 hyperspace.1 lattice.1 \ |
30 |
LDFLAGS="${LDFLAGS}" |
32 |
lorenz.1 matrixview.1 plasma.1 skyrocket.1 solarwinds.1 \ |
31 |
|
33 |
spirographx.1 sundancer2.1 |
32 |
MAN1= biof.1 busyspheres.1 colorfire.1 cyclone.1 euphoria.1 fieldlines.1 flocks.1 \ |
34 |
|
33 |
flux.1 helios.1 hufo_smoke.1 hufo_tunnel.1 lattice.1 matrixview.1 \ |
35 |
CPPFLAGS= -I${LOCALBASE}/include |
34 |
plasma.1 skyrocket.1 solarwinds.1 spirographx.1 sundancer2.1 |
36 |
LDFLAGS= -L${LOCALBASE}/lib |
35 |
|
37 |
|
36 |
post-patch: |
38 |
.include <bsd.port.pre.mk> |
37 |
.for file in config.guess config.sub ltmain.sh |
39 |
|
38 |
${RM} ${WRKSRC}/${file} |
40 |
.if defined(WITH_FREEALUT) |
39 |
${LN} -s ${LOCALBASE}/share/libtool/${file} ${WRKSRC} |
41 |
LIB_DEPENDS+= alut.1:${PORTSDIR}/audio/freealut |
40 |
.endfor |
42 |
.else |
41 |
.for file in oglc_src/Makefile.in other_src/Makefile.in \ |
43 |
CONFIGURE_ARGS+= --disable-sound |
42 |
reallyslick/c_src/Makefile.in reallyslick/cpp_src/Makefile.in |
44 |
.endif |
43 |
@${REINPLACE_CMD} -E -e 's|(@LIBS@)|\1 -lXext|' ${WRKSRC}/${file} |
45 |
|
44 |
.endfor |
46 |
.if defined(WITH_GLEW) |
45 |
# fix lib detection |
47 |
LIB_DEPENDS+= GLEW.1:${PORTSDIR}/graphics/glew |
46 |
@${REINPLACE_CMD} -E -e 's@^(LIBS.*-l(GL|MesaGL|GLU))@\1 -lXext@' \ |
48 |
.else |
47 |
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
49 |
CONFIGURE_ENV+= ac_cv_header_GL_glew_h=no |
|
|
50 |
.endif |
48 |
|
51 |
|
49 |
.include <bsd.port.mk> |
52 |
.include <bsd.port.post.mk> |