1999-12-04 23:51:22 +00:00
|
|
|
# New ports collection makefile for: lincvs
|
|
|
|
# Date created: 03 December 1999
|
|
|
|
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= lincvs
|
2005-07-20 08:11:32 +00:00
|
|
|
PORTVERSION= 1.4.2
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 2
|
1999-12-04 23:51:22 +00:00
|
|
|
CATEGORIES= devel kde
|
2005-05-19 09:58:33 +00:00
|
|
|
MASTER_SITES= http://lincvs.com/download/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-0-generic-src
|
2001-11-27 15:45:09 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1999-12-04 23:51:22 +00:00
|
|
|
|
2007-03-05 00:15:24 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-04-28 12:54:17 +00:00
|
|
|
COMMENT= Graphical CVS front-end using QT
|
1999-12-04 23:51:22 +00:00
|
|
|
|
2004-02-18 10:32:19 +00:00
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
|
2001-11-27 15:45:09 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2003-04-28 12:54:17 +00:00
|
|
|
USE_QT_VER= 3
|
2007-02-13 00:16:29 +00:00
|
|
|
QTDIR?= ${QT_PREFIX}
|
2005-07-20 08:11:32 +00:00
|
|
|
MAKE_ENV+= QTDIR=${QTDIR} QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
2003-04-28 12:54:17 +00:00
|
|
|
ALL_TARGET= install
|
1999-12-04 23:51:22 +00:00
|
|
|
|
2007-05-27 03:03:31 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-02-18 10:32:19 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
|
|
|
${WRKSRC}/src/main.cpp \
|
|
|
|
${WRKSRC}/src/lincvs.cpp
|
2004-02-17 11:06:48 +00:00
|
|
|
|
2003-04-28 12:54:17 +00:00
|
|
|
pre-build:
|
2004-08-20 10:32:19 +00:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake lincvs.pro
|
2004-02-18 10:32:19 +00:00
|
|
|
|
|
|
|
do-install:
|
2003-04-28 12:54:17 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/LinCVS/lincvs.bin ${PREFIX}/bin/lincvs
|
2005-05-19 09:58:33 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/LinCVS/Tools/launch_emacs.sh ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/LinCVS/Tools/launch_xemacs.sh ${PREFIX}/bin
|
2003-04-28 12:54:17 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/LinCVS/Tools/start-ssh-agent.sh ${PREFIX}/bin
|
2004-02-18 10:32:19 +00:00
|
|
|
${MKDIR} ${DATADIR}/translation
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ts/*.qm ${DATADIR}/translation
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2003-04-28 12:54:17 +00:00
|
|
|
${CP} -R ${WRKSRC}/LinCVS/Help/* ${DOCSDIR}
|
2004-02-18 10:32:19 +00:00
|
|
|
.endif
|
|
|
|
|
2007-05-27 03:03:31 +00:00
|
|
|
.include <bsd.port.post.mk>
|