2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2009/08/10 06:31:08 kili Exp $
|
2009-02-16 10:28:57 -05:00
|
|
|
|
2007-09-15 20:44:00 -04:00
|
|
|
COMMENT= lightweight Gtk text editor with syntax highlighting
|
2002-06-05 13:50:01 -04:00
|
|
|
|
2008-09-16 16:00:18 -04:00
|
|
|
DISTNAME= beaver0_3_0_1
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= beaver-0.3.0.1p1
|
2002-06-05 13:50:01 -04:00
|
|
|
CATEGORIES= editors
|
|
|
|
|
2003-08-22 11:51:24 -04:00
|
|
|
HOMEPAGE= http://www.nongnu.org/beaver/
|
2009-02-16 12:35:18 -05:00
|
|
|
# XXX should use ${MASTER_SITE_SAVANNAH:=beaver/} but % in the
|
2009-02-16 10:28:57 -05:00
|
|
|
# XXX directory name causes a problem
|
2009-02-16 09:56:23 -05:00
|
|
|
MASTER_SITES= http://download.savannah.gnu.org/releases-noredirect/beaver/0.3.0.1%20-%202008.06.26/
|
2008-09-16 16:00:18 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
2002-06-05 13:50:01 -04:00
|
|
|
|
2008-09-16 16:00:18 -04:00
|
|
|
# GPLv2
|
2002-06-05 13:50:01 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-09-16 16:00:18 -04:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
|
|
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
|
2009-06-16 21:30:16 -04:00
|
|
|
freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 iconv \
|
2009-08-10 02:29:51 -04:00
|
|
|
intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png \
|
|
|
|
pthread-stubs xcb z
|
2008-09-16 16:00:18 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
|
|
|
|
|
|
|
|
RUN_DEPENDS= ::devel/desktop-file-utils
|
2002-06-05 13:50:01 -04:00
|
|
|
|
2006-11-11 16:04:27 -05:00
|
|
|
USE_X11= Yes
|
2003-04-11 05:54:04 -04:00
|
|
|
USE_GMAKE= Yes
|
2002-06-05 13:50:01 -04:00
|
|
|
MAKE_FLAGS= CC="${CC}" OPTI="${CFLAGS}"
|
|
|
|
|
2008-09-16 16:00:18 -04:00
|
|
|
WRKSRC= ${WRKDIST}/src
|
2002-06-05 13:50:01 -04:00
|
|
|
|
2002-10-25 20:39:14 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2008-09-16 16:00:18 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/interface.c
|
|
|
|
|
2002-06-05 13:50:01 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/beaver \
|
|
|
|
${PREFIX}/bin/beaver
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/beaver.1x \
|
|
|
|
${PREFIX}/man/man1/beaver.1
|
2008-09-16 16:00:18 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/beaver/pixmaps
|
2002-06-05 13:50:01 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/beaver/bl
|
|
|
|
@cd ${WRKDIST}; ${INSTALL_DATA} ${WRKDIST}/bl/* \
|
|
|
|
${PREFIX}/share/beaver/bl
|
2008-09-16 16:00:18 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/pixmaps/* ${PREFIX}/share/beaver/pixmaps/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/beaver.desktop ${PREFIX}/share/applications/
|
2002-06-05 13:50:01 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|