2013-03-07 21:04:37 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2013/03/08 02:04:37 djm Exp $
|
2007-09-04 05:14:00 -04:00
|
|
|
|
|
|
|
COMMENT-main= SSH and telnet client
|
|
|
|
COMMENT-gui= PuTTY GUI clients
|
|
|
|
|
2013-01-13 05:12:52 -05:00
|
|
|
DISTNAME= putty-0.62
|
2007-09-04 05:14:00 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME-gui= ${DISTNAME:S/putty/putty-gui/}
|
2013-03-07 21:04:37 -05:00
|
|
|
REVISION= 1
|
2007-09-04 05:14:00 -04:00
|
|
|
CATEGORIES= net security
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/putty/
|
|
|
|
MASTER_SITES= http://the.earth.li/~sgtatham/putty/latest/ \
|
|
|
|
ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2012-12-12 11:38:33 -05:00
|
|
|
CONFIGURE_STYLE= autoconf automake
|
2013-01-13 05:12:52 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I.././" \
|
|
|
|
LDFLAGS="-L${X11BASE}/lib"
|
|
|
|
AUTOCONF_VERSION= 2.67
|
2012-12-12 11:38:33 -05:00
|
|
|
AUTOMAKE_VERSION= 1.11
|
|
|
|
WRKSRC= ${WRKDIST}/unix
|
2007-09-04 05:14:00 -04:00
|
|
|
|
|
|
|
MULTI_PACKAGES= -main -gui
|
|
|
|
|
2011-07-06 19:56:08 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2013-01-13 05:12:52 -05:00
|
|
|
WANTLIB-main= X11 c
|
|
|
|
WANTLIB-gui= GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi \
|
|
|
|
Xinerama Xrandr Xrender atk-1.0 c cairo expat \
|
|
|
|
fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 \
|
|
|
|
glib-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0 \
|
|
|
|
pangocairo-1.0 pangoft2-1.0 pixman-1 png \
|
|
|
|
pthread-stubs xcb xcb-render xcb-shm z \
|
|
|
|
${MODGETTEXT_WANTLIB}
|
2011-07-06 19:56:08 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS-main= # empty
|
2013-01-13 05:12:52 -05:00
|
|
|
LIB_DEPENDS-gui= x11/gtk+2
|
2007-09-04 05:14:00 -04:00
|
|
|
|
2012-12-12 11:38:33 -05:00
|
|
|
AUTO_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
|
|
|
|
|
2013-01-13 05:12:52 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2012-12-12 11:38:33 -05:00
|
|
|
post-patch:
|
|
|
|
@echo "Running aclocal-${AUTOMAKE_VERSION} in ${WRKSRC}"
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${AUTO_ENV} aclocal
|
|
|
|
|
2007-09-04 05:14:00 -04:00
|
|
|
pre-configure:
|
2012-12-12 11:38:33 -05:00
|
|
|
cd ${WRKDIST} && ./mkfiles.pl
|
2007-09-04 05:14:00 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|