summaryrefslogtreecommitdiff
path: root/cad/boolean/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-08-18 23:52:14 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-08-18 23:52:14 +0000
commit2b694196114b1e06826fb0177401e3092a8c3eb5 (patch)
tree492ae216661e422b93d2c2ae075a9f52bb14075f /cad/boolean/Makefile
parent1780128dcd26ef8ccf31e6e14868f0fd6764787e (diff)
downloadpkgsrc-2b694196114b1e06826fb0177401e3092a8c3eb5.tar.gz
update to boolean-6.7. List of changes not available but one visible
change is that it compiles with gcc3 now. Also works with the latest wxGTK (2.6.1). This still has some issues reading gdsii files on alpha but it seems ok on i386.
Diffstat (limited to 'cad/boolean/Makefile')
-rw-r--r--cad/boolean/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/cad/boolean/Makefile b/cad/boolean/Makefile
index 7787aff7d53..af32a92787a 100644
--- a/cad/boolean/Makefile
+++ b/cad/boolean/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2005/08/07 11:42:06 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2005/08/18 23:52:14 dmcmahill Exp $
#
-DISTNAME= boolean
+DISTNAME= boolean_6_7
PKGNAME= boolean-${REL}
-PKGREVISION= 7
CATEGORIES= cad graphics
MASTER_SITES= http://www.xs4all.nl/~kholwerd/download/boolzip/
EXTRACT_SUFX= .zip
@@ -13,11 +12,13 @@ HOMEPAGE= http://www.xs4all.nl/~kholwerd/bool.html
COMMENT= GDSII viewer/editor + (boolean) operations on sets of 2d polygons
DIST_SUBDIR= ${PKGNAME_NOREV}
-REL= 6.4
+REL= 6.7
BUILD_DEPENDS+= cmake>=1.6.6:../../devel/cmake
-USE_TOOLS+= gmake
+WRKSRC= ${WRKDIR}/boolean
+
+USE_TOOLS+= gmake pkg-config tar
INSTALLATION_DIRS= bin
@@ -29,19 +30,25 @@ post-patch:
n="$$d/CMakeLists.txt" ; \
${ECHO} "$$f -> $$n" ; \
${MV} $$f $$n ; done
+ ${MV} ${WRKSRC}/bin/checkmsvc.cmake ${WRKSRC}/bin/CheckMSVC.cmake
+ ${MV} ${WRKSRC}/bin/findpkgconfig.cmake ${WRKSRC}/bin/FindPkgConfig.cmake
+ ${MV} ${WRKSRC}/bin/findwxwin.cmake ${WRKSRC}/bin/FindwxWin.cmake
+ ${MV} ${WRKSRC}/bin/macros.cmake ${WRKSRC}/bin/Macros.cmake
${MV} -f ${WRKSRC}/bin/boolean ${WRKSRC}/bin/boolean.bak
${SED} 's;@prefix@;${PREFIX};g' ${WRKSRC}/bin/boolean.bak > \
${WRKSRC}/bin/boolean
+ ${CP} -f ${WRKSRC}/apps/edit/include/valuesvc.h ${WRKSRC}/modules/kbool/include
do-configure:
- cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/cmake .
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/cmake \
+ -DWXWIDGET_GTK2=YES .
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/boolean
cd ${WRKSRC}/apps/edit && \
- tar cf - default gdsuser | tar -xvf - -C ${PREFIX}/share/boolean
+ ${TAR} cf - default gdsuser | ${TAR} -xvf - -C ${PREFIX}/share/boolean
cd ${WRKSRC}/docs && \
- tar cf - html | tar -xvf - -C ${PREFIX}/share/boolean
+ ${TAR} cf - html | ${TAR} -xvf - -C ${PREFIX}/share/boolean
${CHOWN} -R ${BINOWN}.${BINGRP} ${PREFIX}/share/boolean
${INSTALL_SCRIPT} ${WRKSRC}/bin/boolean ${PREFIX}/bin/boolean
${INSTALL_PROGRAM} ${WRKSRC}/apps/edit/edit ${PREFIX}/bin/edit