openbsd-ports/editors/beaver/Makefile
alek 3c68445fa3 Fix out-of-bounds access to conf->file_content
Problem spotted by Sigfred H?versen <bsdlist@mumak.com>

ok mbalmer@, pvalchev@
2005-08-30 20:32:52 +00:00

40 lines
1011 B
Makefile

# $OpenBSD: Makefile,v 1.7 2005/08/30 20:32:52 alek 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_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>