1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/fv/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

46 lines
1.0 KiB
Makefile

# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
PORTNAME= fv
PORTVERSION= 1.03
PORTREVISION= 7
CATEGORIES= graphics
MASTER_SITES= http://www.eaflux.com/fv/sources/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Viewer of hdr/pfm images
LICENSE= GPLv2+
LIB_DEPENDS= libpng.so:graphics/png
USES= gl gmake pkgconfig zip
USE_GL= glut
ALL_TARGET= ${PORTNAME}
CXXFLAGS+= $$(pkg-config --cflags libpng) -I${LOCALBASE}/include
LDFLAGS+= $$(pkg-config --libs libpng) -L${LOCALBASE}/lib -lglut \
-lGLU -lGL -lbz2 -lm -lz -llzma -lpthread
PORTDOCS= AUTHORS ChangeLog README
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DEBUG DOCS
DEBUG_CXXFLAGS_OFF= -DNDEBUG
post-patch:
@${REINPLACE_CMD} -e \
's|^CXX=|CXX?=| ; \
s|^CXXFLAGS=|CXXFLAGS?=| ; \
s|^LDFLAGS=|LDFLAGS?=|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>