2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2013/03/11 11:42:47 espie Exp $
|
2001-03-29 07:27:29 -05:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= graphical file comparator and merge tool
|
2001-03-20 09:29:31 -05:00
|
|
|
|
2005-04-24 15:02:04 -04:00
|
|
|
DISTNAME= xxdiff-3.1
|
2011-11-03 16:13:20 -04:00
|
|
|
REVISION= 4
|
2001-04-19 09:08:33 -04:00
|
|
|
CATEGORIES= textproc x11
|
2002-05-14 08:07:09 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xxdiff/}
|
2001-03-29 07:27:29 -05:00
|
|
|
|
2001-03-20 09:29:31 -05:00
|
|
|
HOMEPAGE= http://xxdiff.sourceforge.net/
|
|
|
|
|
2002-07-17 03:27:02 -04:00
|
|
|
# GPL
|
2001-03-20 09:29:31 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2008-01-24 06:49:21 -05:00
|
|
|
|
2011-11-03 16:13:20 -04:00
|
|
|
WANTLIB= X11 Xext c m png pthread stdc++
|
2001-03-20 09:29:31 -05:00
|
|
|
|
2010-11-20 14:56:47 -05:00
|
|
|
BUILD_DEPENDS= devel/bison \
|
|
|
|
devel/tmake>=1.10
|
2004-08-10 04:46:49 -04:00
|
|
|
MODULES= x11/qt3
|
2001-03-20 09:29:31 -05:00
|
|
|
|
2002-04-09 11:43:40 -04:00
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/src
|
2001-03-20 09:29:31 -05:00
|
|
|
|
2002-07-17 03:27:02 -04:00
|
|
|
MAKE_ENV+= UIC=${MODQT_UIC}
|
|
|
|
|
|
|
|
# For qsettings to write its setup
|
|
|
|
PORTHOME= ${WRKDIST}
|
|
|
|
|
2008-01-24 06:49:21 -05:00
|
|
|
USE_GMAKE= Yes
|
2010-10-19 03:54:21 -04:00
|
|
|
USE_GROFF = Yes
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2001-03-20 09:29:31 -05:00
|
|
|
|
2003-02-02 11:37:56 -05:00
|
|
|
post-extract:
|
|
|
|
@rm ${WRKSRC}/getopt.h
|
|
|
|
@rm ${WRKSRC}/getopt.c
|
|
|
|
@rm ${WRKSRC}/getopt1.c
|
|
|
|
|
2002-04-09 11:43:40 -04:00
|
|
|
do-configure:
|
2004-06-24 19:04:10 -04:00
|
|
|
@cd ${WRKSRC} && ${LOCALBASE}/bin/tmake -t xxdiff.t xxdiff.pro \
|
|
|
|
> ${WRKSRC}/Makefile
|
2001-03-20 09:29:31 -05:00
|
|
|
|
2002-04-09 11:43:40 -04:00
|
|
|
do-install:
|
2005-04-24 15:02:04 -04:00
|
|
|
cd ${WRKSRC}/../bin; \
|
|
|
|
${INSTALL_PROGRAM} xxdiff ${PREFIX}/bin/xxdiff; \
|
|
|
|
for f in xxdiff-cvs-diff xxdiff-encrypted xxdiff-find-grep-sed \
|
|
|
|
xxdiff-match; do \
|
|
|
|
${INSTALL_SCRIPT} $$f ${PREFIX}/bin; \
|
|
|
|
done
|
2002-04-09 11:43:40 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/xxdiff.1 ${PREFIX}/man/man1/xxdiff.1
|
2001-03-20 09:29:31 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|