openbsd-ports/devel/cflow/Makefile

34 lines
702 B
Makefile

# $OpenBSD: Makefile,v 1.12 2019/07/12 20:44:05 sthen Exp $
COMMENT = analyze C source files and print a call graph
DISTNAME = cflow-1.6
CATEGORIES = devel
REVISION = 0
HOMEPAGE = https://www.gnu.org/software/cflow/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPLv3
PERMIT_PACKAGE = Yes
WANTLIB = c iconv intl
MASTER_SITES = ${MASTER_SITE_GNU:=cflow/}
LIB_DEPENDS = devel/gettext,-runtime
MAKE_FLAGS = LIBINTL="-L${LOCALBASE}/lib -liconv -lintl"
USE_GMAKE = Yes
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKSRC}/elisp/cflow-mode.el \
${PREFIX}/share/emacs/site-lisp
.include <bsd.port.mk>