summaryrefslogtreecommitdiff
path: root/textproc/xxdiff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xxdiff/Makefile')
-rw-r--r--textproc/xxdiff/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/textproc/xxdiff/Makefile b/textproc/xxdiff/Makefile
index 3002120e0182..93be114551ca 100644
--- a/textproc/xxdiff/Makefile
+++ b/textproc/xxdiff/Makefile
@@ -6,15 +6,22 @@
#
PORTNAME= xxdiff
-PORTVERSION= 2.0.1
+PORTVERSION= 2.0.3
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= ${MASTER_SITE_LOCAL:S/%SUBDIR%/petef/g} \
+ ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+.if !defined(NOPORTDOCS)
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xxdiff-${PORTVERSION}.html
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+.endif
+
MAINTAINER= petef@FreeBSD.org
BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake
+USE_BISON= yes
USE_GMAKE= yes
USE_QT_VER= 2
TMAKEENV= TMAKEPATH=${LOCALBASE}/share/tmake/freebsd-g++ QTDIR=${X11BASE}
@@ -30,8 +37,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xxdiff ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${WRKSRC}/xxdiff --help-html > ${WRKDIR}/xxdiff.html
- ${INSTALL_DATA} ${WRKDIR}/xxdiff.html ${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/xxdiff-${PORTVERSION}.html \
+ ${DOCSDIR}/xxdiff.html
.endif
.include <bsd.port.mk>