2009-03-11 06:51:03 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2009/03/11 10:51:03 espie Exp $
|
2007-01-05 11:52:21 -05:00
|
|
|
|
2007-09-15 17:36:57 -04:00
|
|
|
COMMENT= printed circuit board layout tool
|
2007-09-16 08:54:38 -04:00
|
|
|
DISTNAME= pcb-20070912
|
2009-03-11 06:51:03 -04:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2007-01-05 11:52:21 -05:00
|
|
|
CATEGORIES= cad
|
|
|
|
|
|
|
|
HOMEPAGE= http://pcb.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Andreas Bihlmaier <andreas.bihlmaier@gmx.de>
|
|
|
|
|
2008-05-30 10:08:40 -04:00
|
|
|
# GPLv2
|
2007-01-05 11:52:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-03-06 17:20:49 -05:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
|
|
|
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1
|
|
|
|
WANTLIB += png z
|
2007-01-05 11:52:21 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcb/}
|
|
|
|
|
|
|
|
RUN_DEPENDS= ::devel/m4 \
|
2009-03-11 06:51:03 -04:00
|
|
|
:tk->=8.4,<8.5:x11/tk/8.4
|
2007-01-05 11:52:21 -05:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
LIB_DEPENDS= gd.>=20::graphics/gd \
|
|
|
|
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= --disable-doc --with-gui=gtk
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's,!!DOCDIR!!,${PREFIX}/share/doc/pcb,' \
|
|
|
|
${WRKSRC}/doc/pcb.1
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
rm -rf ${PREFIX}/share/${DISTNAME}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/pcb.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/pcb.info* ${PREFIX}/info
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pcb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/pcb.html ${PREFIX}/share/doc/pcb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${PREFIX}/share/doc/pcb
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/refcard.pdf ${PREFIX}/share/doc/pcb
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|