openbsd-ports/cad/xcircuit/Makefile
sthen 9dc7ac21b0 Fix LIB_DEPENDS and bump: change tk84:tk->=8.4:x11/tk/8.4
to tk84:tk-8.4.*:x11/tk/8.4 to avoid a failure when Tk 8.5 is
installed (tk-8.5 satisfies tk->=8.4 but has no libtk84).
2008-06-14 16:40:39 +00:00

53 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2008/06/14 16:40:39 sthen Exp $
SHARED_ONLY= Yes
COMMENT= circuit drawing and schematic capture
BASEVER= 3.4
DISTNAME= xcircuit-${BASEVER}.27
PKGNAME= ${DISTNAME}p0
CATEGORIES= cad
HOMEPAGE= http://opencircuitdesign.com/xcircuit/
MAINTAINER= Zvezdan Petkovic <zpetkovic@acm.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m z ICE Xt X11 SM Xpm tcl84
MASTER_SITES= ${HOMEPAGE}archive/
EXTRACT_SUFX= .tgz
CONFIGURE_STYLE= autoconf no-autoheader
AUTOCONF_VERSION= 2.59
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-tcl=${LOCALBASE}/lib/tcl8.4 \
--with-tk=${LOCALBASE}/lib/tk8.4
LIB_DEPENDS+= tk84:tk-8.4.*:x11/tk/8.4
USE_X11= Yes
USE_GMAKE= Yes
NO_REGRESS= Yes
SUBST_VARS= BASEVER
post-install:
@cd ${WRKSRC} && ${MAKE} install-man
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xcircuit
${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/xcircuit
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcircuit
${INSTALL_DATA} ${WRKSRC}/examples/*.* \
${PREFIX}/share/examples/xcircuit
${INSTALL_DATA} ${WRKSRC}/examples/.xcircuitrc \
${PREFIX}/share/examples/xcircuit/dot.xcircuitrc
.include <bsd.port.mk>