diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-01-16 10:24:28 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-01-16 10:24:28 +0000 |
commit | e308fd9ed3c22f889e5259f5854bb5a95f0abc52 (patch) | |
tree | b78fc54fc470d31b60fb77d54e28d76aa136502c /misc/qmc/Makefile | |
parent | 3e86088da298a0ce743a4a391767ea05e8c4aa9a (diff) | |
download | ports-e308fd9ed3c22f889e5259f5854bb5a95f0abc52.tar.gz ports-e308fd9ed3c22f889e5259f5854bb5a95f0abc52.zip |
Notes
Diffstat (limited to 'misc/qmc/Makefile')
-rw-r--r-- | misc/qmc/Makefile | 25 |
1 files changed, 18 insertions, 7 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> |