mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
49 lines
955 B
Makefile
49 lines
955 B
Makefile
# Created by: Hiroki Sato <hrs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= klayout
|
|
PORTVERSION= 0.21.19
|
|
CATEGORIES= cad
|
|
MASTER_SITES= http://www.klayout.de/
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= A Qt-based GDS2 Viewer
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_GMAKE= yes
|
|
USE_QT4= corelib gui network moc_build sql uic_build \
|
|
rcc_build qt3support xml
|
|
PLIST_FILES= bin/klayout \
|
|
bin/strm2cif \
|
|
bin/strm2dxf \
|
|
bin/strm2gds \
|
|
bin/strm2oas \
|
|
bin/strm2txt \
|
|
bin/strmclip \
|
|
bin/strmcmp \
|
|
bin/strmxor
|
|
|
|
PLATFORMKEYWORD= freebsd-32-gcc-release
|
|
|
|
NO_STAGE= yes
|
|
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:Mbin/*:S,^bin/,,} \
|
|
${PREFIX}/bin
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Does not compile on sparc64: gcc bug
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|