Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 02:31:24 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174193: devel/alabastra: Support CXXFLAGS properly
Message-ID:  <20121206023124.8cb3ed3b8576fbcb30aebb1a@yahoo.com>
Resent-Message-ID: <201212051810.qB5IABDT033705@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174193
>Category:       ports
>Synopsis:       devel/alabastra: Support CXXFLAGS properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 05 18:10:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Support CXXFLAGS properly
- Add LICENSE
- Add MAKE_JOBS_SAFE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/alabastra/Makefile devel/alabastra/Makefile
--- /usr/ports/devel/alabastra/Makefile	2012-11-08 05:11:24.000000000 +0900
+++ devel/alabastra/Makefile	2012-12-03 23:39:34.000000000 +0900
@@ -1,34 +1,35 @@
-# New ports collection makefile for:	alabastra
-# Date created:				20 Jun 2007
-# Whom:					Yinghong Liu <relaxbsd@gmail.com>
-#
+# Created by: Yinghong Liu <relaxbsd@gmail.com>
 # $FreeBSD: head/devel/alabastra/Makefile 301519 2012-07-25 11:24:09Z cs $
 
 PORTNAME=	alabastra
 PORTVERSION=	0.21b
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	SF
 DISTNAME=	Alabastra-${PORTVERSION}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	C++ editor written with QT4
+COMMENT=	C++ editor written with Qt4
 
-USE_QT4=	gui xml qmake_build moc_build uic_build rcc_build \
-		iconengines
-USE_GMAKE=	yes
-ALL_TARGET=	Alabastra
+LICENSE=	GPLv2 # (or later)
 
 WRKSRC=		${WRKDIR}/${DISTNAME}
 
+USE_QT4=	gui xml \
+		moc_build qmake_build rcc_build uic_build \
+		iconengines_run
+USE_GMAKE=	yes
+ALL_TARGET=	Alabastra
+MAKE_JOBS_SAFE=	yes
+
 PLIST_FILES=	bin/alabastra
 
 do-configure:
-	cd ${WRKSRC} \
-	    && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKE_ARGS} Alabastra.pro
+	@(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/Alabastra ${PREFIX}/bin/alabastra
+	(cd ${INSTALL_WRKSRC} \
+		&& ${INSTALL_PROGRAM} Alabastra ${PREFIX}/bin/alabastra)
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121206023124.8cb3ed3b8576fbcb30aebb1a>