aboutsummaryrefslogtreecommitdiffstats
path: root/cad/klayout/Makefile
blob: 2f94f5c3802b678c0d9eb2f2a470bdaab483aec8 (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
36
37
38
39
40
41
42
43
44
45
46
# Ports collection makefile for:  klayout
# Date created:           Sat, Apr 28, 2007
# Whom:               Hiroki Sato <hrs@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   klayout
PORTVERSION=    0.17.2
PORTREVISION=   1
CATEGORIES= cad
MASTER_SITES=   http://www.klayout.de/

MAINTAINER= hrs@FreeBSD.org
COMMENT=    A Qt-based GDS2 Viewer

USE_GMAKE=  yes
USE_QT_VER= 4
QT_COMPONENTS=  corelib gui network moc_build sql uic_build rcc_build qt3support xml
PLIST_FILES=    bin/klayout \
        bin/strm2gds \
        bin/strm2oas \
        bin/strmclip \
        bin/strmcmp

PLATFORMKEYWORD=    freebsd-32-gcc-release

do-build:
    cd ${WRKSRC} && \
        ${SH} build.sh -platform ${PLATFORMKEYWORD} \
            -qtbin ${QT_PREFIX}/bin \
            -qtinc ${QT_INCDIR} \
            -qtlib ${QT_LIBDIR}

do-install:
    cd ${WRKSRC}/bin.${PLATFORMKEYWORD} && \
        ${INSTALL_PROGRAM} ${PLIST_FILES:S,^bin/,,} \
        ${PREFIX}/bin

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=     Does not compile on sparc64: exhausts virtual memory
.endif

.include <bsd.port.post.mk>