openbsd-ports/devel/cflow/Makefile
2022-03-11 18:49:30 +00:00

31 lines
628 B
Makefile

COMMENT = analyze C source files and print a call graph
DISTNAME = cflow-1.7
CATEGORIES = devel
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>