openbsd-ports/devel/cvsgraph/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2007/06/11 20:19:59 jasper Exp $
2002-06-29 09:39:51 -04:00
COMMENT= graphical representation of CVS repository
2002-06-29 09:39:51 -04:00
DISTNAME= cvsgraph-1.6.1
2002-06-29 09:39:51 -04:00
CATEGORIES= devel
HOMEPAGE= http://www.akhphd.au.dk/~bertho/cvsgraph
# GPL
2002-06-29 09:39:51 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2005-10-24 01:04:16 -04:00
WANTLIB= c jpeg m png z
2002-06-29 09:39:51 -04:00
2005-10-12 01:38:51 -04:00
MODULES= converters/libiconv
2002-06-29 09:39:51 -04:00
MASTER_SITES= ${HOMEPAGE}/release/
2006-08-01 18:46:16 -04:00
LIB_DEPENDS= gd.>=18::graphics/gd
2002-06-29 09:39:51 -04:00
ALL_TARGET=
CONFIGURE_STYLE= gnu dest
2005-10-12 01:38:51 -04:00
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
2005-10-24 01:04:16 -04:00
LIBS="-lpng -ljpeg -lz -lm -liconv"
2002-07-16 20:03:01 -04:00
CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \
2005-10-12 01:38:51 -04:00
--with-gd-lib=${LOCALBASE}/lib \
--with-freetype-lib=${X11BASE}/lib
2002-06-29 09:39:51 -04:00
2002-10-25 18:37:52 -04:00
NO_REGRESS= Yes
pre-build:
@perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g' ${WRKSRC}/cvsgraph.1
2002-06-29 09:39:51 -04:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cvsgraph ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cvsgraph
2002-07-16 20:03:01 -04:00
${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf \
${PREFIX}/share/examples/cvsgraph
${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5
2002-06-29 09:39:51 -04:00
.include <bsd.port.mk>