46 lines
1.2 KiB
Makefile
Raw Normal View History

2010-11-15 19:45:56 +00:00
# $OpenBSD: Makefile,v 1.16 2010/11/15 19:45:57 espie Exp $
2002-06-29 13:39:51 +00:00
COMMENT= graphical representation of CVS repository
2002-06-29 13:39:51 +00:00
DISTNAME= cvsgraph-1.6.1
2002-06-29 13:39:51 +00:00
CATEGORIES= devel
HOMEPAGE= http://www.akhphd.au.dk/~bertho/cvsgraph
# GPL
2002-06-29 13:39:51 +00:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-15 19:45:56 +00:00
WANTLIB= c jpeg m png z gd>=18
2002-06-29 13:39:51 +00:00
2005-10-12 05:38:51 +00:00
MODULES= converters/libiconv
2002-06-29 13:39:51 +00:00
MASTER_SITES= ${HOMEPAGE}/release/
2010-11-15 19:45:56 +00:00
LIB_DEPENDS= graphics/gd
2002-06-29 13:39:51 +00:00
ALL_TARGET=
CONFIGURE_STYLE= gnu dest
2005-10-12 05:38:51 +00:00
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
2005-10-24 05:04:16 +00:00
LIBS="-lpng -ljpeg -lz -lm -liconv"
2002-07-17 00:03:01 +00:00
CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \
2005-10-12 05:38:51 +00:00
--with-gd-lib=${LOCALBASE}/lib \
--with-freetype-lib=${X11BASE}/lib
2010-11-15 19:45:56 +00:00
USE_GROFF = Yes
2002-06-29 13:39:51 +00:00
2002-10-25 22:37:52 +00:00
NO_REGRESS= Yes
pre-build:
@perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g' ${WRKSRC}/cvsgraph.1
2002-06-29 13:39:51 +00:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cvsgraph ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cvsgraph
2002-07-17 00:03:01 +00: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 13:39:51 +00:00
.include <bsd.port.mk>