2004-12-06 19:23:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2004/12/07 00:23:24 alek Exp $
|
2001-03-29 07:27:29 -05:00
|
|
|
|
|
|
|
COMMENT= "graphical file comparator and merge tool"
|
2001-03-20 09:29:31 -05:00
|
|
|
|
2002-10-16 09:23:41 -04:00
|
|
|
DISTNAME= xxdiff-2.9.1
|
2003-02-02 11:37:56 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
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
|
2004-12-06 19:23:20 -05:00
|
|
|
WANTLIB= X11 Xext c m png pthread stdc++
|
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}
|
|
|
|
|
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:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xxdiff ${PREFIX}/bin/xxdiff
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xxdiff.1 ${PREFIX}/man/man1/xxdiff.1
|
2001-03-20 09:29:31 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|