# $OpenBSD: Makefile,v 1.26 2011/09/16 09:48:08 espie Exp $ COMMENT= lightweight Gtk text editor with syntax highlighting DISTNAME= beaver0_3_0_1 PKGNAME= beaver-0.3.0.1 CATEGORIES= editors REVISION= 6 HOMEPAGE= http://www.nongnu.org/beaver/ # XXX should use ${MASTER_SITE_SAVANNAH:=beaver/} but % in the # XXX directory name causes a problem MASTER_SITES= http://download.savannah.gnu.org/releases-noredirect/beaver/0.3.0.1%20-%202008.06.26/ EXTRACT_SUFX= .tgz # GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \ Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \ freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \ m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png \ pthread-stubs xcb z gdk_pixbuf-2.0 gdk-x11-2.0 gtk-x11-2.0 MODULES= devel/gettext LIB_DEPENDS= x11/gtk+2 RUN_DEPENDS= devel/desktop-file-utils USE_GMAKE= Yes USE_GROFF = Yes MAKE_FLAGS= CC="${CC}" OPTI="${CFLAGS}" WRKSRC= ${WRKDIST}/src NO_REGRESS= Yes pre-configure: ${SUBST_CMD} ${WRKSRC}/interface.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/beaver \ ${PREFIX}/bin/beaver ${INSTALL_DATA} ${WRKDIST}/beaver.1x \ ${PREFIX}/man/man1/beaver.1 ${INSTALL_DATA_DIR} ${PREFIX}/share/beaver/pixmaps ${INSTALL_DATA_DIR} ${PREFIX}/share/beaver/bl @cd ${WRKDIST}; ${INSTALL_DATA} ${WRKDIST}/bl/* \ ${PREFIX}/share/beaver/bl ${INSTALL_DATA} ${WRKDIST}/pixmaps/* ${PREFIX}/share/beaver/pixmaps/ ${INSTALL_DATA_DIR} ${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKDIST}/beaver.desktop ${PREFIX}/share/applications/ .include