mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
37 lines
944 B
Makefile
37 lines
944 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: deep_zoom
|
|
# Date created: Aug 12, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= deep_zoom
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://members.rogers.com/rowley-c/deep_zoom/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Generate very highly zoomed fractals
|
|
|
|
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
|
LIB_DEPENDS= Imlib2:${PORTSDIR}/graphics/imlib2 \
|
|
gmp.6:${PORTSDIR}/math/libgmp4
|
|
|
|
IMLIB2_CONFIG= ${X11BASE}/bin/imlib2-config
|
|
USE_REINPLACE= yes
|
|
USE_GNOME= glib12
|
|
USE_GMAKE= yes
|
|
CFLAGS+= -I${LOCALBASE}/include `${IMLIB2_CONFIG} --cflags`
|
|
MAKE_ENV= CC=${CXX} LDFLAGS="`${IMLIB2_CONFIG} --libs`"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|^CFLAGS=|CFLAGS+=|g" \
|
|
-e "s|^LDFLAGS=|LDFLAGS+=|g" -e "s|imlib2||g" \
|
|
-e "s|^CONFIG_CFLAGS|#CONFIG_CFLAGS|g" ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/deep_zoom ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|