Annotation of ports/cad/tkgate/Makefile, Revision 1.8
1.1 yason 1: # $OpenBSD$
2:
1.5 yason 3: COMMENT = Tcl/Tk based digital circuit editor and simulator
1.1 yason 4:
1.2 yason 5: DISTNAME = tkgate-1.8.7
6: CATEGORIES = cad
1.1 yason 7:
1.2 yason 8: HOMEPAGE = http://www.tkgate.org/
9: MASTER_SITES = ftp://gadoid.ices.cmu.edu/pub/tkgate/
10: EXTRACT_SUFX = .tgz
1.1 yason 11:
12: # GPLv2
1.2 yason 13: PERMIT_PACKAGE_CDROM = Yes
14: PERMIT_PACKAGE_FTP = Yes
15: PERMIT_DISTFILES_CDROM = Yes
16: PERMIT_DISTFILES_FTP = Yes
1.1 yason 17:
1.7 yason 18: WANTLIB = X11 c m
1.2 yason 19:
20: MODULES = x11/tk
1.5 yason 21: LIB_DEPENDS = ${MODTK_LIB_DEPENDS}
1.2 yason 22:
23: CONFIGURE_STYLE = gnu
1.1 yason 24:
1.6 yason 25: NO_REGRESS = Yes
26:
1.1 yason 27: pre-patch:
28: @find ${WRKSRC} -name *.orig -exec rm {} \;
29:
30: pre-configure:
31: @perl -pi -e 's,!!PREFIX!!,${PREFIX},g' ${WRKSRC}/Imakefile
32: @perl -pi -e 's,!!CFLAGS!!,${CFLAGS},g;' \
33: -e 's,!!LOCALBASE!!,${LOCALBASE},g;' \
34: -e 's,!!PREFIX!!,${PREFIX},g;' ${WRKSRC}/config.h
35: @perl -pi -e 's,!!PREFIX!!,${PREFIX},g' ${WRKSRC}/src/gsim/Imakefile
36: @perl -pi -e 's,!!PREFIX!!,${PREFIX},g' ${WRKSRC}/scripts/parms.tcl
37:
38: post-install:
39: ${INSTALL_MAN} ${WRKSRC}/tkgate.man ${PREFIX}/man/man1/tkgate.1
40: ${INSTALL_MAN} ${WRKSRC}/gmac.man ${PREFIX}/man/man1/gmac.1
41: ${INSTALL_DATA_DIR} ${PREFIX}/share/tkgate/
42: ${INSTALL_DATA} ${WRKSRC}/doc/license.txt ${PREFIX}/share/tkgate/
43: ${INSTALL_DATA_DIR} ${PREFIX}/share/tkgate/locale/
44: @cd ${WRKSRC}/locale/ && tar cf - . | \
45: tar xf - -C ${PREFIX}/share/tkgate/locale/
46:
47: .include <bsd.port.mk>
CVSweb