1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/devel/lincvs/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

# 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
PORTVERSION= 1.4.2
PORTREVISION= 2
CATEGORIES= devel kde
MASTER_SITES= http://lincvs.com/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}-0-generic-src
2001-11-27 15:45:09 +00:00
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical CVS front-end using QT
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
2001-11-27 15:45:09 +00:00
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_QT_VER= 3
QTDIR?= ${QT_PREFIX}
MAKE_ENV+= QTDIR=${QTDIR} QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
ALL_TARGET= install
2007-05-27 03:03:31 +00:00
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
${WRKSRC}/src/main.cpp \
${WRKSRC}/src/lincvs.cpp
2004-02-17 11:06:48 +00:00
pre-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake lincvs.pro
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/LinCVS/lincvs.bin ${PREFIX}/bin/lincvs
${INSTALL_SCRIPT} ${WRKSRC}/LinCVS/Tools/launch_emacs.sh ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/LinCVS/Tools/launch_xemacs.sh ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/LinCVS/Tools/start-ssh-agent.sh ${PREFIX}/bin
${MKDIR} ${DATADIR}/translation
${INSTALL_DATA} ${WRKSRC}/ts/*.qm ${DATADIR}/translation
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/LinCVS/Help/* ${DOCSDIR}
.endif
2007-05-27 03:03:31 +00:00
.include <bsd.port.post.mk>