openbsd-ports/net/putty/Makefile

58 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.14 2013/03/08 02:04:37 djm Exp $
COMMENT-main= SSH and telnet client
COMMENT-gui= PuTTY GUI clients
2013-01-13 05:12:52 -05:00
DISTNAME= putty-0.62
PKGNAME-main= ${DISTNAME}
PKGNAME-gui= ${DISTNAME:S/putty/putty-gui/}
REVISION= 1
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
CONFIGURE_STYLE= autoconf automake
2013-01-13 05:12:52 -05:00
CONFIGURE_ENV= CPPFLAGS="-I.././" \
LDFLAGS="-L${X11BASE}/lib"
AUTOCONF_VERSION= 2.67
AUTOMAKE_VERSION= 1.11
WRKSRC= ${WRKDIST}/unix
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
AUTO_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
2013-01-13 05:12:52 -05:00
NO_REGRESS= Yes
post-patch:
@echo "Running aclocal-${AUTOMAKE_VERSION} in ${WRKSRC}"
@cd ${WRKSRC} && ${SETENV} ${AUTO_ENV} aclocal
pre-configure:
cd ${WRKDIST} && ./mkfiles.pl
.include <bsd.port.mk>