diff options
Diffstat (limited to 'cad/xschem/Makefile')
-rw-r--r-- | cad/xschem/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/cad/xschem/Makefile b/cad/xschem/Makefile new file mode 100644 index 000000000000..1b96ac77cf7d --- /dev/null +++ b/cad/xschem/Makefile @@ -0,0 +1,38 @@ +PORTNAME= xschem +DISTVERSION= 3.4.7 +CATEGORIES= cad + +MAINTAINER= tiago.gasiba@gmail.com +COMMENT= Schematic capture and edit program for VLSI/ASIC/Analog designs +WWW= https://xschem.sourceforge.io/stefan/index.html + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= flex:textproc/flex + +USES= bison gnome jpeg localbase:ldflags tk:86 xorg +USE_GITHUB= yes +GH_ACCOUNT= StefanSchippers +USE_GNOME= cairo +USE_XORG= x11 xcb xpm + +CFLAGS+= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} + +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +pre-build: + @cd ${WRKSRC} && ./configure --CFLAGS='${CFLAGS}' --LDFLAGS='${LDFLAGS}' + +do-build: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} + +post-install: + @cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} rawtovcd xschem + +post-install-DOCS-off: + @${RM} -r ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> |