blob: 350fd416f955eff357967445cbe951d7886f64db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# 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= 2
CATEGORIES= graphics
MASTER_SITES= http://www.eaflux.com/fv/sources/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.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>
|