mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
b4d2ac42d7
- Shared lib version and PORTREVISION bumb for all affected ports. While I'm here: - Remove USE_MESA knob where it was (35 ports). It marked as depricated for 2 years. PR: ports/90247 Submitted by: Ermal Lu?i <eri--@albabsd.org>
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: pyro
|
|
# Date created: 07 Sep 2005
|
|
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pyro
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://nostatic.org/pyro/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ip@doom.homeunix.org
|
|
COMMENT= A simple OpenGL-based firework simulator
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
glut.4:${PORTSDIR}/graphics/libglut
|
|
|
|
USE_REINPLACE= yes
|
|
USE_GL= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
EXAMPLES= pyro.dsp water.jpg
|
|
PLIST_FILES= bin/pyro ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
|
|
PLIST_DIRS= %%EXAMPLESDIR%%
|
|
PORTDOCS= README
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g' ${WRKSRC}/*.c
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${WRKSRC}/*.c -o ${WRKSRC}/${PORTNAME} \
|
|
-DAUXDIR=\"${EXAMPLESDIR}\" -I${WRKSRC} -I${X11BASE}/include \
|
|
-I${LOCALBASE}/include -L${X11BASE}/lib -L${LOCALBASE}/lib \
|
|
-ljpeg -lm -lXmu -lXi -lXext -lGL -lGLU -lglut
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|