pkgsrc/cad/xcircuit/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

37 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2006/03/04 21:29:02 jlam Exp $
DISTNAME= xcircuit-3.3.0
PKGREVISION= 1
CATEGORIES= cad graphics
MASTER_SITES= http://bach.ece.jhu.edu/~tim/programs/xcircuit/archive/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xcircuit.ece.jhu.edu/
COMMENT= Drawing program for X11 (especially for circuits)
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_TOOLS+= gs:run
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
BUILD_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/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"