openbsd-ports/editors/beaver/Makefile
2004-11-24 11:08:02 +00:00

39 lines
989 B
Makefile

# $OpenBSD: Makefile,v 1.6 2004/11/24 11:08:02 espie Exp $
COMMENT= "lightweight Gtk text editor with syntax highlighting"
DISTNAME= beaver-0.2.7
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>