2004-11-23 06:22:00 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2004/11/23 11:22:01 espie Exp $
|
2002-06-29 09:39:51 -04:00
|
|
|
|
2003-04-10 05:52:45 -04:00
|
|
|
COMMENT= "graphical representation of CVS repository"
|
2002-06-29 09:39:51 -04:00
|
|
|
|
2004-10-31 05:38:57 -05:00
|
|
|
DISTNAME= cvsgraph-1.5.1
|
2002-06-29 09:39:51 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.akhphd.au.dk/~bertho/cvsgraph
|
|
|
|
|
2004-10-31 05:38:57 -05:00
|
|
|
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
|
2002-06-29 09:39:51 -04:00
|
|
|
|
|
|
|
# GPL 2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 06:22:00 -05:00
|
|
|
WANTLIB= c jpeg m png ttf z
|
2002-06-29 09:39:51 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/release/
|
|
|
|
|
2004-10-31 05:38:57 -05:00
|
|
|
LIB_DEPENDS= gd.18::graphics/gd
|
2002-06-29 09:39:51 -04:00
|
|
|
|
|
|
|
ALL_TARGET=
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
2004-10-31 05:38:57 -05:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
LIBS="-lpng -lttf -ljpeg -lz"
|
2002-07-16 20:03:01 -04:00
|
|
|
CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \
|
|
|
|
--with-gd-lib=${LOCALBASE}/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
|
2002-06-29 09:39:51 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|