diff options
author | krion <krion@FreeBSD.org> | 2005-01-16 18:24:28 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-01-16 18:24:28 +0800 |
commit | f73847f421235488a2ecf9c44a5f2a8640cca197 (patch) | |
tree | 12b351a77a38f5c55b35c802ce12b120a3b4ad43 /misc/qmc | |
parent | 657aca9a85740c9774c3e03bb6103093099d4818 (diff) | |
download | freebsd-ports-gnome-f73847f421235488a2ecf9c44a5f2a8640cca197.tar.gz freebsd-ports-gnome-f73847f421235488a2ecf9c44a5f2a8640cca197.tar.zst freebsd-ports-gnome-f73847f421235488a2ecf9c44a5f2a8640cca197.zip |
Update to version 0.94
PR: ports/76283
Submitted by: Ports Fury
Diffstat (limited to 'misc/qmc')
-rw-r--r-- | misc/qmc/Makefile | 25 | ||||
-rw-r--r-- | misc/qmc/distinfo | 4 | ||||
-rw-r--r-- | misc/qmc/files/patch-cqmc | 24 | ||||
-rw-r--r-- | misc/qmc/files/patch-main.cc | 23 | ||||
-rw-r--r-- | misc/qmc/files/patch-msg.cc | 14 |
5 files changed, 20 insertions, 70 deletions
diff --git a/misc/qmc/Makefile b/misc/qmc/Makefile index 326b8826d8c7..eaa4669abb2f 100644 --- a/misc/qmc/Makefile +++ b/misc/qmc/Makefile @@ -7,23 +7,34 @@ # PORTNAME= qmc -PORTVERSION= 0.92b3 +PORTVERSION= 0.94 CATEGORIES= misc MASTER_SITES= http://qmc.pollaknet.at/program/ -DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/bbeta/} MAINTAINER= ports@FreeBSD.org COMMENT= Quine-McClusky process simplification tool -NO_WRKSUBDIR= yes +USE_BZIP2= yes +USE_REINPLACE= yes + PLIST_FILES= bin/qmc +.if !defined(WITHOUT_TCLTK) +RUN_DEPENDS+= wish8.4:${PORTSDIR}/x11-toolkits/tk84 +PLIST_FILES+= bin/qmc-gui +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + 's| wish | ${LOCALBASE}/bin/wish8.4 |g' ${WRKSRC}/qmc-gui.tcl + do-build: - @cd ${WRKSRC} ; \ - ${RM} -f *.o ; \ - ${CXX} ${CXXFLAGS} -I. *.cc -o qmc + cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -I. *.cc -o qmc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/qmc ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/qmc ${PREFIX}/bin/qmc +.if !defined(WITHOUT_TCLTK) + ${INSTALL_SCRIPT} ${WRKSRC}/qmc-gui.tcl ${PREFIX}/bin/qmc-gui +.endif .include <bsd.port.mk> diff --git a/misc/qmc/distinfo b/misc/qmc/distinfo index 8c3937257669..040a6ec81946 100644 --- a/misc/qmc/distinfo +++ b/misc/qmc/distinfo @@ -1,2 +1,2 @@ -MD5 (qmc-0.92bbeta3.tar.gz) = cd0a8d6e137ca9230984579f1d25c43f -SIZE (qmc-0.92bbeta3.tar.gz) = 22172 +MD5 (qmc-0.94.tar.bz2) = 97a656564b0490c61251f4497742a337 +SIZE (qmc-0.94.tar.bz2) = 18941 diff --git a/misc/qmc/files/patch-cqmc b/misc/qmc/files/patch-cqmc deleted file mode 100644 index ae8bef535fdd..000000000000 --- a/misc/qmc/files/patch-cqmc +++ /dev/null @@ -1,24 +0,0 @@ - -$FreeBSD$ - ---- cqmc.orig Mon Feb 24 00:31:45 2003 -+++ cqmc Mon Feb 24 00:32:10 2003 -@@ -18,8 +18,8 @@ - #ifndef cqmc - #define cqmc -
--namespace std --{ -+//namespace std -+//{ - - //size of input string - #define TERM_GR 128
-@@ -85,6 +85,6 @@ - extern void tableheadoutput(BOOL *var, unsigned char anz, unsigned char gt); - extern void tableoutput(bool value, bool option, unsigned char gt); - extern void tabletailoutput(char *minterm); --} -+//} - #endif
-
diff --git a/misc/qmc/files/patch-main.cc b/misc/qmc/files/patch-main.cc deleted file mode 100644 index 274a08ee0df8..000000000000 --- a/misc/qmc/files/patch-main.cc +++ /dev/null @@ -1,23 +0,0 @@ - -$FreeBSD$ - ---- main.cc.orig Mon Feb 24 00:41:46 2003 -+++ main.cc Mon Feb 24 00:43:25 2003 -@@ -166,7 +166,7 @@ - var= new BOOL[anz];
-
- //number of possibilities -- help=pow(2,anz);
-+ help=pow((unsigned short)2,(unsigned short)anz);
-
- //create boolean array - erg = new bool[help];
-@@ -242,7 +242,7 @@ -
-
- //number of possibilty -- help=pow(2,anz);
-+ help=pow((unsigned short)2,(unsigned short)anz);
-
-
- //create boolean array diff --git a/misc/qmc/files/patch-msg.cc b/misc/qmc/files/patch-msg.cc deleted file mode 100644 index 402b0e7589e9..000000000000 --- a/misc/qmc/files/patch-msg.cc +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- msg.cc.orig Mon Feb 24 00:21:58 2003 -+++ msg.cc Mon Feb 24 00:23:12 2003 -@@ -42,6 +42,8 @@ - //Headers
- #include <iostream>
-
-+using namespace std;
-+
- /************
- * *
- * Errormsg *
|