openbsd-ports/editors/beaver/Makefile

56 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.17 2009/08/10 06:31:08 kili Exp $
COMMENT= lightweight Gtk text editor with syntax highlighting
DISTNAME= beaver0_3_0_1
PKGNAME= beaver-0.3.0.1p1
CATEGORIES= editors
HOMEPAGE= http://www.nongnu.org/beaver/
2009-02-16 12:35:18 -05:00
# 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 \
2009-06-16 21:30:16 -04:00
freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 iconv \
intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png \
pthread-stubs xcb z
LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
RUN_DEPENDS= ::devel/desktop-file-utils
2006-11-11 16:04:27 -05:00
USE_X11= Yes
USE_GMAKE= Yes
MAKE_FLAGS= CC="${CC}" OPTI="${CFLAGS}"
WRKSRC= ${WRKDIST}/src
2002-10-25 20:39:14 -04:00
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 <bsd.port.mk>