1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/devel/esvn/Makefile
Beat Gaetzi 8558ca7184 - Deprecate QT3, KDE3 and unmaintained ports depending on them. QT 3.3.8
was released in 2007 and KDE 3.5.10 in 2008 and both are no longer
  maintained upstream nor in our tree.
- Set EXPIRATION_DATE to 2013-07-01

Discussed with:	bapt, tabthorpe
2012-12-30 12:03:51 +00:00

72 lines
1.9 KiB
Makefile

# New ports collection Makefile for: esvn
# Date created: 9 August 2004
# Whom: Andrej Zverev (az@inec.ru)
#
# $FreeBSD$
#
PORTNAME= esvn
PORTVERSION= 0.6.12
PORTREVISION= 9
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/eSvn/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= ports@FreeBSD.org
COMMENT= GUI frontend for the Subversion revision system
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
RUN_DEPENDS= svn:${PORTSDIR}/devel/subversion
DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
ESVN_DIST= esvn
ESVNPRO= esvn.pro esvn-diff-wrapper.pro
ESVNDOCS= html-docs html-docs/common html-docs/common/admon html-docs/common/navig html-docs/images
WRKSRC= ${WRKDIR}/${ESVN_DIST}
HAS_CONFIGURE= yes
USE_QT_VER= 3
USE_GMAKE= yes
CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS= --qtdir=${QT_PREFIX}
MAKE_ARGS+= QTDIR=${QT_PREFIX} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/kde-config)
PLIST_SUB+= KDE=""
.else
PLIST_SUB+= KDE="@comment "
.endif
do-configure:
@for proj in ${ESVNPRO}; do \
cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ $${proj}; \
done
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/esvn ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/esvn-diff-wrapper ${PREFIX}/bin
.if exists(${LOCALBASE}/bin/kde-config)
${MKDIR} ${LOCALBASE}/share/applnk
${MKDIR} ${LOCALBASE}/share/icons/hicolor/48x48/apps
${INSTALL_DATA} ${WRKSRC}/eSvn.desktop ${LOCALBASE}/share/applnk
${INSTALL_DATA} ${WRKSRC}/images/esvn.png ${LOCALBASE}/share/icons/hicolor/48x48/apps
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
for d in ${ESVNDOCS}; do \
${MKDIR} ${DOCSDIR}/$$d; \
${CP} -Rp ${WRKSRC}/$$d/* ${DOCSDIR}/$$d/; \
done
.endif
.include <bsd.port.post.mk>