openbsd-ports/editors/beaver/Makefile
2006-11-11 21:04:27 +00:00

41 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2006/11/11 21:04:27 steven Exp $
COMMENT= "lightweight Gtk text editor with syntax highlighting"
DISTNAME= beaver-0.2.7
PKGNAME= ${DISTNAME}p0
CATEGORIES= editors
HOMEPAGE= http://www.nongnu.org/beaver/
MASTER_SITES= http://savannah.nongnu.org/download/beaver/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xi c glib gmodule iconv intl m
LIB_DEPENDS= gtk.>=1.2,gdk.>=1.2::x11/gtk+
USE_X11= Yes
USE_GMAKE= Yes
MAKE_FLAGS= CC="${CC}" OPTI="${CFLAGS}"
WRKSRC= ${WRKDIST}/src
NO_REGRESS= Yes
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
${INSTALL_DATA} ${WRKDIST}/pixmaps/beaver.png \
${PREFIX}/share/beaver/beaver.png
${INSTALL_DATA_DIR} ${PREFIX}/share/beaver/bl
@cd ${WRKDIST}; ${INSTALL_DATA} ${WRKDIST}/bl/* \
${PREFIX}/share/beaver/bl
.include <bsd.port.mk>