2002-08-17 07:59:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2002/08/17 05:59:00 tron Exp $
|
2000-11-18 18:57:27 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= boolean
|
|
|
|
PKGNAME= boolean-${REL}
|
2002-03-13 18:36:35 +01:00
|
|
|
PKGREVISION= 1
|
2000-11-18 18:57:27 +01:00
|
|
|
CATEGORIES= cad graphics
|
|
|
|
MASTER_SITES= http://www.xs4all.nl/~kholwerd/download/boolzip/
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= dmcmahill@netbsd.org
|
|
|
|
HOMEPAGE= http://www.xs4all.nl/~kholwerd/bool.html
|
2001-02-16 14:41:26 +01:00
|
|
|
COMMENT= GDSII viewer/editor + (boolean) operations on sets of 2d polygons
|
2000-11-18 18:57:27 +01:00
|
|
|
|
2002-03-13 18:36:35 +01:00
|
|
|
DEPENDS+= wxGTK>=2.2.7nb1:../../x11/wxGTK
|
2000-11-18 18:57:27 +01:00
|
|
|
|
2002-03-17 18:20:01 +01:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
2000-11-18 18:57:27 +01:00
|
|
|
REL= 6.2
|
|
|
|
|
2002-08-17 07:59:00 +02:00
|
|
|
# This package cannot be built with g++ 2.95.3.
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-1.[45]*-*
|
|
|
|
|
2000-11-18 18:57:27 +01:00
|
|
|
WRKSRC= ${WRKDIR}/boolean/${REL}/linux
|
|
|
|
MAKEFILE= makefile.gui
|
|
|
|
PLIST_SUBST= REL=${REL}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/../../toolmanager ${WRKSRC}/../../toolmanager.in
|
|
|
|
${SED} "s;@prefix@;${PREFIX};g" < ${WRKSRC}/../../toolmanager.in \
|
|
|
|
> ${WRKSRC}/../../toolmanager
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libexec/boolean/${REL}/${LOWER_OPSYS}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libexec/boolean/${REL}/all_arch.all_os/bin/
|
|
|
|
cd ${WRKSRC}/.. && \
|
|
|
|
tar cf - default gdsuser | tar -xvf - -C ${PREFIX}/libexec/boolean/${REL}
|
|
|
|
${CHOWN} -R ${BINOWN}.${BINGRP} ${PREFIX}/libexec/boolean/${REL}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/../../toolmanager ${PREFIX}/libexec/boolean/toolmanager
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/../release_settings.sh ${PREFIX}/libexec/boolean/${REL}/release_settings.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/../all_arch.all_os/bin/* ${PREFIX}/libexec/boolean/${REL}/all_arch.all_os/bin/
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/boolean_exe ${PREFIX}/libexec/boolean/${REL}/${LOWER_OPSYS}/bin/
|
|
|
|
cd ${PREFIX}/bin ; \
|
|
|
|
for f in boolean booleanc booleanterm booleantest boolean_man ; \
|
|
|
|
do \
|
|
|
|
${LN} -f -s ../libexec/boolean/toolmanager $$f ;\
|
|
|
|
done
|
|
|
|
cd ${PREFIX}/libexec/boolean/ && ${LN} -f -s ${REL} default
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|