1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/textproc/beediff/Makefile
2009-02-26 11:27:38 +00:00

44 lines
987 B
Makefile

# New ports collection makefile for: beediff
# Date created: 2008-03-23
# Whom: Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#
PORTNAME= beediff
PORTVERSION= 1.9
CATEGORIES= textproc devel
MASTER_SITES= http://www.beesoft.pl/download/
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= makc@FreeBSD.org
COMMENT= QT4 based diff frontend
USE_QT_VER= 4
QT_COMPONENTS= gui moc_build rcc_build qmake_build
HAS_CONFIGURE= yes
INSTALLS_ICONS= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/beediff share/pixmaps/beediff.png
DESKTOP_ENTRIES="BeeDiff" "diff frontend" "beediff.png" \
"beediff" "" false
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE}
post-configure:
@${REINPLACE_CMD} -e \
's|^CC .*|CC=${CC}|; \
s|^CXX .*|CXX=${CXX}|; \
s|^LINK .*|LINK=${CXX}|' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/beediff ${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/img/beediff.png ${PREFIX}/share/pixmaps/
.include <bsd.port.mk>