7e19e1f6aa
prodded by espie@ discussed with espie@ sthen@ landry@
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2009/12/21 18:06:39 ajacoutot Exp $
|
|
|
|
COMMENT= viewer for Gerber (RS-274X) files
|
|
DISTNAME= gerbv-1.0.2
|
|
PKGNAME= ${DISTNAME}p4
|
|
CATEGORIES= cad graphics
|
|
|
|
HOMEPAGE= http://gerbv.sourceforge.net/
|
|
|
|
MAINTAINER= Andreas Bihlmaier <andreas.bihlmaier@gmx.de>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
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 += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
|
WANTLIB += pthread-stubs xcb z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gerbv/}
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS= gdk-x11-2.0.>=0.14,gdk_pixbuf-2.0.>=0.14,gtk-x11-2.0.>=0.14::x11/gtk+2
|
|
RUN_DEPENDS= ::devel/desktop-file-utils
|
|
|
|
USE_X11= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
|
${INSTALL_DATA} ${WRKSRC}/desktop/gerbv.desktop \
|
|
${PREFIX}/share/applications
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/
|
|
${INSTALL_DATA} ${WRKSRC}/desktop/gerbv.png ${PREFIX}/share/pixmaps/
|
|
|
|
.include <bsd.port.mk>
|