# $NetBSD: Makefile,v 1.5 2002/08/17 05:59:00 tron Exp $ # DISTNAME= boolean PKGNAME= boolean-${REL} PKGREVISION= 1 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 COMMENT= GDSII viewer/editor + (boolean) operations on sets of 2d polygons DEPENDS+= wxGTK>=2.2.7nb1:../../x11/wxGTK DIST_SUBDIR= ${PKGNAME_NOREV} REL= 6.2 # This package cannot be built with g++ 2.95.3. ONLY_FOR_PLATFORM= NetBSD-1.[45]*-* 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"