freebsd-ports/x11-toolkits/gtkada/Makefile
Baptiste Daroussin 1b7bb411e0 Update to use: USES+= ada
Additionally:
1) A pre-generated reference manual has been added as a second distfile and is installed
2) License added
3) DESTDIR support added (comes from pkgsrc) (will be useful once staging will hit the tree)
4) gcc 4.7-specific patches
5) PLIST order alphabetically and fix issues with it.

PR:		ports/178145
Submitted by:	John Marino <draco@marino.st>
2013-04-30 11:57:02 +00:00

35 lines
859 B
Makefile

# Created by: John Marino <draco@marino.st>
# $FreeBSD$
PORTNAME= gtkada
PORTVERSION= ${GTKADA_VERSION}
PORTREVISION= 2
CATEGORIES= x11-toolkits
MASTER_SITES= http://downloads.dragonlace.net/src/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
gtkada-rm-${GTKADA_VERSION}${EXTRACT_SUFX}
MAINTAINER= draco@marino.st
COMMENT= Ada graphical toolkit based on Gtk2+
LICENSE= GPLv2
BUILD_DEPENDS+= makeinfo:${PORTSDIR}/print/texinfo
BUILD_DEPENDS+= gtk>=${GTKADA_VERSION}:${PORTSDIR}/x11-toolkits/gtk20
RUN_DEPENDS+= gtk>=${GTKADA_VERSION}:${PORTSDIR}/x11-toolkits/gtk20
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
USE_PERL5_BUILD=yes
USES+= ada
GTKADA_VERSION= 2.22
PLIST_SUB+= PKGNAME="${PORTNAME}-${GTKADA_VERSION}"
CONFIGURE_ARGS+= --disable-nls
post-patch:
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/misc.c
.include <bsd.port.mk>