freebsd-ports/x11-toolkits/gtksourceview2/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

33 lines
917 B
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/x11-toolkits/gtksourceview2/Makefile,v 1.96 2010/09/29 12:42:49 kwm Exp $
PORTNAME= gtksourceview2
PORTVERSION= 2.10.5
PORTREVISION?= 4
CATEGORIES= x11-toolkits gnome
MASTER_SITES= GNOME/sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Widget that adds syntax highlighting to GtkTextView
USES= tar:bzip2
PORTSCOUT= ignore:1
.if !defined(REFERENCE_PORT)
USES+= gettext gmake libtool:keepla pathfix pkgconfig
USE_LDCONFIG= yes
USE_GNOME= gnomeprefix gtk20 gconf2 libxml2 intlhack referencehack
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-compile-warnings=no --enable-glade-catalog=no
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
.include <bsd.port.mk>
.endif