blob: 6e974cad72c75997c19a85c2943cd3d0fcee65cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# ex:ts=8
# New ports collection makefile for: qmc
# Date created: Nov 20, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= qmc
PORTVERSION= 0.94
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://qmc.pollaknet.at/program/
MAINTAINER= ports@FreeBSD.org
COMMENT= Quine-McClusky process simplification tool
DEPRECATED= Upstream disapear and distfile is no more available
EXPIRATION_DATE= 2011-05-01
USE_BZIP2= 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} && ${CXX} ${CXXFLAGS} -I. *.cc -o qmc
do-install:
${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>
|