1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/graphics/fv/Makefile
Sergey Matveychuk b4d2ac42d7 - Update graphics/libglut to 6.4.1.
- 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>
2006-01-12 12:54:32 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: fv
# Date created: 07 Sep 2005
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
#
# $FreeBSD$
#
PORTNAME= fv
PORTVERSION= 1.01
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.eaflux.com/fv/sources/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ip@doom.homeunix.org
COMMENT= A viewer of hdr/pfm images
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut \
png.5:${PORTSDIR}/graphics/png
USE_ZIP= yes
USE_GCC= 3.3+
USE_GETOPT_LONG=yes
USE_GL= yes
USE_X_PREFIX= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
do-build:
${CXX} ${CXXFLAGS} -DNDEBUG -DHAVE_DECL_GETOPT -I${X11BASE}/include \
-I${LOCALBASE}/include -I${WRKSRC} ${CPPFLAGS} \
${PTHREAD_CFLAGS} ${LDFLAGS} -L${X11BASE}/lib \
-L${LOCALBASE}/lib -lpng -lz -lbz2 -lglut -lGLU -lGL -lXi \
-lXmu -lX11 -lXext -lSM -lm ${PTHREAD_LIBS} \
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/*.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.ifndef (NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>