50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.34 2014/12/05 12:50:09 naddy Exp $
|
|
|
|
COMMENT= graphical file comparator and merge tool
|
|
|
|
DISTNAME= xxdiff-3.1
|
|
REVISION= 4
|
|
CATEGORIES= textproc x11
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xxdiff/}
|
|
|
|
HOMEPAGE= http://xxdiff.sourceforge.net/
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= X11 Xext c m png pthread stdc++
|
|
|
|
BUILD_DEPENDS= devel/bison \
|
|
devel/tmake>=1.10
|
|
MODULES= x11/qt3
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
MAKE_ENV+= UIC=${MODQT_UIC}
|
|
|
|
# For qsettings to write its setup
|
|
PORTHOME= ${WRKDIST}
|
|
|
|
USE_GMAKE= Yes
|
|
NO_TEST= Yes
|
|
|
|
post-extract:
|
|
@rm ${WRKSRC}/getopt.h
|
|
@rm ${WRKSRC}/getopt.c
|
|
@rm ${WRKSRC}/getopt1.c
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${LOCALBASE}/bin/tmake -t xxdiff.t xxdiff.pro \
|
|
> ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
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
|
|
${INSTALL_MAN} ${WRKSRC}/xxdiff.1 ${PREFIX}/man/man1/xxdiff.1
|
|
|
|
.include <bsd.port.mk>
|