Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (39 sloc) 1.689 kb
# $NetBSD: Makefile,v 1.34 2012/10/08 13:25:17 asau Exp $
DISTNAME= xcircuit-3.4.26
PKGREVISION= 1
CATEGORIES= cad graphics
MASTER_SITES= http://opencircuitdesign.com/xcircuit/archive/
EXTRACT_SUFX= .tgz
MAINTAINER= shaun@inerd.com
HOMEPAGE= http://opencircuitdesign.com/xcircuit/
COMMENT= Drawing program for X11 (especially for circuits)
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_TOOLS+= gs:run
GNU_CONFIGURE= yes
.include "../../lang/tcl/Makefile.version"
.include "../../x11/tk/Makefile.version"
CONFIGURE_ARGS+=--prefix=${PREFIX}
CONFIGURE_ARGS+=--with-tcl=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+=--with-tk=${BUILDLINK_PREFIX.tk}/lib
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
#CFLAGS+= -DBUILTINS_DIR=${PREFIX}/lib/${DISTNAME:C/\.[^\.]*$//}
LDFLAGS+= -ltcl${TCL_VERSION:C/\.[^\.]*$//:C/\.//g}
LDFLAGS+= -ltk${TK_VERSION:C/\.[^\.]*$//:C/\.//g}
LDFLAGS+= -L${LOCALBASE}/lib
BUILD_TARGET= tcl
INSTALL_TARGET= install-tcl
INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/examples/xcircuit
post-extract:
${MV} -f ${WRKSRC}/examples/.xcircuitrc ${WRKSRC}/examples/xcircuitrc
${TOUCH} ${WRKSRC}/menudep.h
post-install:
${INSTALL_DATA} ${WRKSRC}/examples/*.* ${DESTDIR}${PREFIX}/share/examples/xcircuit/
${INSTALL_DATA} ${WRKSRC}/examples/xcircuitrc ${DESTDIR}${PREFIX}/share/examples/xcircuit/
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Jump to Line
Something went wrong with that request. Please try again.