2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2009/08/10 06:34:56 kili 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
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
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
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-01-24 06:49:21 -05:00
|
|
|
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB= X11 Xext c m png pthread pthread-stubs stdc++ xcb
|
2001-03-20 09:29:31 -05:00
|
|
|
|
2002-07-17 03:27:02 -04:00
|
|
|
BUILD_DEPENDS= :bison-*:devel/bison \
|
2003-02-02 11:37:56 -05:00
|
|
|
:tmake->=1.10:devel/tmake
|
2004-08-10 04:46:49 -04:00
|
|
|
MODULES= x11/qt3
|
2003-02-02 11:37:56 -05:00
|
|
|
MODQT_MT= Yes
|
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
|
2006-11-13 07:51:14 -05:00
|
|
|
USE_X11= Yes
|
2002-04-09 11:43:40 -04:00
|
|
|
NO_REGRESS= 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>
|