aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2013-02-04 18:04:11 +0800
committeraraujo <araujo@FreeBSD.org>2013-02-04 18:04:11 +0800
commit9f7ed46acd53283c12109e2c355e9f05a93c4963 (patch)
tree4a7ef47c08b6e37f23cef8798bcff59df552eb4b
parentf5b6ea25515c2997ac2c3ca4346027e69b75a408 (diff)
downloadfreebsd-ports-gnome-9f7ed46acd53283c12109e2c355e9f05a93c4963.tar.gz
freebsd-ports-gnome-9f7ed46acd53283c12109e2c355e9f05a93c4963.tar.zst
freebsd-ports-gnome-9f7ed46acd53283c12109e2c355e9f05a93c4963.zip
- Support CXXFLAGS properly.
- Trim header. PR: ports/174201 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r--www/aria2fe/Makefile27
1 files changed, 14 insertions, 13 deletions
diff --git a/www/aria2fe/Makefile b/www/aria2fe/Makefile
index c3d4ad454df4..ae39a7cfaab3 100644
--- a/www/aria2fe/Makefile
+++ b/www/aria2fe/Makefile
@@ -1,32 +1,33 @@
-# New ports collection makefile for: aria2fe
-# Date created: 12 December 2007
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= aria2fe
DISTVERSION= 0.0.5
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= Aria2 QT front-end
+COMMENT= Aria2 Qt front-end
+
+LICENSE= GPLv3 # (or later)
RUN_DEPENDS= aria2c:${PORTSDIR}/www/aria2 \
xterm:${PORTSDIR}/x11/xterm
+BUILD_WRKSRC= ${WRKSRC}/src
+INSTALL_WRKSRC= ${WRKSRC}/bin
+
USE_BZIP2= yes
-USE_QT4= gui qmake_build uic_build moc_build rcc_build
+USE_QT4= gui moc_build qmake_build rcc_build uic_build
+MAKE_JOBS_SAFE= yes
+
PLIST_FILES= bin/${PORTNAME}
-BUILD_WRKSRC= ${WRKSRC}/src
-pre-build:
- @cd ${BUILD_WRKSRC}/&&\
- ${SETENV} ${MAKE_ENV} ${QMAKE} -unix ${PORTNAME}.pro
+do-configure:
+ @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/
.include <bsd.port.mk>