1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/devel/fuel/Makefile
Matthew Rezny 31a9541d19 Fix fetch, update to 1.0.1, and add option for Qt 4 or 5 (default).
PR:		217824
Reviewed by:	mat
Approved by:	swills (mentor), maintainer (timeout)
Differential Revision:	https://reviews.freebsd.org/D10199
2017-03-31 01:48:55 +00:00

35 lines
931 B
Makefile

# Created by: Hakisho Nukama <nukama@gmail.com>
# $FreeBSD$
PORTNAME= fuel
DISTVERSION= 1.0.1
CATEGORIES= devel
MASTER_SITES= https://fuel-scm.org/files/releases/
MAINTAINER= nukama+maintainer@gmail.com
COMMENT= GUI Front-End to the Fossil SCM tool
LICENSE= GPLv2
BUILD_DEPENDS= bash:shells/bash
RUN_DEPENDS= fossil:devel/fossil
OPTIONS_SINGLE= GUI
OPTIONS_SINGLE_GUI= QT4 QT5
OPTIONS_DEFAULT= QT5
USES= qmake shebangfix
QT4_USE= QT4=corelib,gui,webkit,linguisttools_build,moc_build,rcc_build,uic_build
QT5_USE= QT5=core,gui,network,webkit,widgets,buildtools_build,linguisttools_build
SHEBANG_FILES= intl/convert.sh
PLIST_FILES= bin/fuel share/applications/fuel.desktop \
share/icons/hicolor/256x256/apps/fuel.png
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
-e 's|/usr$$|${PREFIX}|' ${WRKSRC}/fuel.pro
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/rsrc/fuel.desktop
.include <bsd.port.mk>