openbsd-ports/textproc/xxdiff/Makefile

47 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2001/03/30 11:06:38 wilfried Exp $
COMMENT= "graphical file comparator and merge tool"
DISTNAME= xxdiff-1.9.1
CATEGORIES= textproc
NEED_VERSION= 1.377
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xxdiff
HOMEPAGE= http://xxdiff.sourceforge.net/
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= Dan Weeks <danimal@danimal.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= qt.2::x11/qt2
BUILD_DEPENDS= bison::devel/bison \
uic::x11/qt2-designer
USE_GMAKE= Yes
USE_X11= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= QTDIR="${LOCALBASE}" \
USER_LDFLAGS="-L${LOCALBASE}/lib/X11 -L${LOCALBASE}/lib/qt2" \
USER_INCLUDES="-I${LOCALBASE}/include/X11 -I${LOCALBASE}/include/X11/qt2" \
MOC="${LOCALBASE}/bin/moc2"
MAKE_ENV= ${CONFIGURE_ENV}
WRKSRC= ${WRKDIST}/xxdiff
post-extract:
@rm -r ${WRKSRC}/diffutils-2.7
@rm -r ${WRKDIST}/doc
@rm -r ${WRKDIST}/src
@rm -r ${WRKDIST}/CVS
.include <bsd.port.mk>