2314c85f45
zap default spec that are not needed convert libspecs as well convert p* to REVISION. No package changes
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.17 2010/11/15 00:22:49 espie Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= circuit drawing and schematic capture
|
|
|
|
BASEVER= 3.6
|
|
DISTNAME= xcircuit-${BASEVER}.167
|
|
CATEGORIES= cad
|
|
|
|
HOMEPAGE= http://opencircuitdesign.com/xcircuit/
|
|
|
|
# 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
|
|
|
|
MASTER_SITES= ${HOMEPAGE}archive/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
CONFIGURE_STYLE= autoconf no-autoheader
|
|
AUTOCONF_VERSION= 2.59
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
--with-tcl=${MODTCL_LIBDIR} \
|
|
--with-tk=${MODTK_LIBDIR}
|
|
|
|
MODULES= x11/tk
|
|
LIB_DEPENDS+= ${MODTK_LIB_DEPENDS}
|
|
WANTLIB+= ${MODTK_WANTLIB}
|
|
|
|
USE_GMAKE= Yes
|
|
USE_GROFF = 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>
|