openbsd-ports/graphics/gfract/Makefile
2007-10-24 22:40:53 +00:00

53 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2007/10/24 22:43:42 jasper Exp $
COMMENT= fractal program with GTK interface
DISTNAME= gfract-0.33
PKGNAME= ${DISTNAME}p2
DISTFILES= ${DISTNAME}.tar.gz \
gfract-palettes-0.1.tar.gz
CATEGORIES= graphics math
HOMEPAGE= http://www.oskusoft.com/osku/gfract/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 m pango-1.0 \
pangocairo-1.0 pangoft2-1.0 png stdc++ z
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
MODULES= devel/gettext
USE_X11= Yes
USE_GMAKE= Yes
NO_REGRESS= Yes
ALL_TARGET= gfract
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
post-extract:
@cd ${WRKDIR} && mv monk2\'.map monk2.map
pre-build:
@perl -pi -e 's#/usr/local#${LOCALBASE}#' ${WRKSRC}/main.cpp
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/gfract/palettes
${INSTALL_DATA} ${WRKDIR}/*.map ${PREFIX}/share/gfract/palettes/
${INSTALL_DATA} ${WRKSRC}/gfract.xpm ${PREFIX}/share/gfract/
${INSTALL_PROGRAM} ${WRKSRC}/gfract ${PREFIX}/bin/
.include <bsd.port.mk>