aboutsummaryrefslogtreecommitdiffstats
path: root/devel/alabastra/Makefile
blob: f1caa1f308fd5d12c430268e153ae9f1d8340fac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Yinghong Liu <relaxbsd@gmail.com>
# $FreeBSD$

PORTNAME=   alabastra
PORTVERSION=    0.21b
PORTREVISION=   3
CATEGORIES= devel
MASTER_SITES=   SF
DISTNAME=   Alabastra-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    C++ editor written with Qt4

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

PLIST_FILES=    bin/alabastra

NO_STAGE=   yes
do-configure:
    @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})

do-install:
    (cd ${INSTALL_WRKSRC} \
        && ${INSTALL_PROGRAM} Alabastra ${PREFIX}/bin/alabastra)

.include <bsd.port.mk>