2021-07-02 16:08:06 +00:00

34 lines
750 B
Makefile

# $OpenBSD: Makefile,v 1.26 2021/07/02 16:08:06 fcambus Exp $
COMMENT= graphical representation of CVS repository
DISTNAME= cvsgraph-1.7.2
CATEGORIES= devel
HOMEPAGE= https://www.vagrearg.org/content/cvsgraph
# GPLv2+
PERMIT_PACKAGE= Yes
WANTLIB += c freetype gd m z
# also https://gitlab.com/bertho/cvsgraph/
MASTER_SITES= https://www.vagrearg.org/cvsgraph/release/
LIB_DEPENDS= graphics/gd
ALL_TARGET=
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \
--with-gd-lib=${LOCALBASE}/lib
CFLAGS += -I${LOCALBASE}/include
NO_TEST= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cvsgraph
${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf \
${PREFIX}/share/examples/cvsgraph
.include <bsd.port.mk>