37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2004/01/20 12:09:10 agc Exp $
|
|
|
|
DISTNAME= xcircuit-3.1.19
|
|
CATEGORIES= cad graphics
|
|
MASTER_SITES= http://bach.ece.jhu.edu/~tim/programs/xcircuit/archive/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://bach.ece.jhu.edu/~tim/programs/xcircuit/
|
|
COMMENT= Drawing program for X11 (especially for circuits)
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
USE_BUILDLINK2= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--with-tcl
|
|
CONFIGURE_ARGS+=--with-tclincls=${BUILDLINK_PREFIX.tcl}/include
|
|
CONFIGURE_ARGS+=--with-tcllibs=${BUILDLINK_PREFIX.tcl}/lib
|
|
CONFIGURE_ARGS+=--with-tkincls=${BUILDLINK_PREFIX.tk}/include
|
|
CONFIGURE_ARGS+=--with-tklibs=${BUILDLINK_PREFIX.tk}/lib
|
|
|
|
ALL_TARGET= tcl
|
|
INSTALL_TARGET= install-tcl
|
|
|
|
post-extract:
|
|
${RM} -fr ${WRKSRC}/examples/CVS
|
|
${MV} -f ${WRKSRC}/examples/.xcircuitrc ${WRKSRC}/examples/xcircuitrc
|
|
${TOUCH} ${WRKSRC}/menudep.h
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcircuit/
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/xcircuit/
|
|
|
|
.include "../../graphics/xpm/buildlink2.mk"
|
|
.include "../../x11/tk/buildlink2.mk"
|
|
.include "../../lang/tcl/buildlink2.mk"
|
|
.include "../../mk/ghostscript.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|