2007-06-11 16:19:59 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2007/06/11 20:19:59 jasper Exp $
|
2002-06-29 09:39:51 -04:00
|
|
|
|
2007-06-11 16:19:59 -04:00
|
|
|
COMMENT= graphical representation of CVS repository
|
2002-06-29 09:39:51 -04:00
|
|
|
|
2007-06-11 16:19:59 -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
|
|
|
|
|
2007-06-11 16:19:59 -04:00
|
|
|
# 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
|
|
|
|
|
2004-10-31 05:38:57 -05:00
|
|
|
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
|
2007-06-11 16:19:59 -04:00
|
|
|
${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>
|