freebsd-ports/graphics/fractgen/Makefile
Adriaan de Groot ebec611b2a Update fractgen patches to be more resilient
This doesn't change the package at all, it just makes our patches
easier to upstream. Document the %%PREFIX%% substitution a little
better while we're at it.
2021-01-18 11:41:45 +00:00

26 lines
741 B
Makefile

# Created by: Thomas Dreibholz <dreibh@iem.uni-due.de>
# $FreeBSD$
PORTNAME= fractgen
PORTVERSION= 2.1.10
CATEGORIES= graphics
MASTER_SITES= https://www.uni-due.de/~be0001/fractalgenerator/download/
MAINTAINER= dreibh@iem.uni-due.de
COMMENT= Fractal Generator
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang tar:xz cmake qt:5
USE_QT= core xml widgets printsupport \
buildtools_build qmake_build linguisttools_build
CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${PREFIX}/man
post-patch:
# We patch **in** %%PREFIX%% (see patch-src_fractgen.cc) and now we
# can replace it with the real prefix that we wanted to use.
$(REINPLACE_CMD) 's+%%PREFIX%%+$(PREFIX)+' $(WRKSRC)/src/fractgen.cc
.include <bsd.port.mk>