freebsd-ports/devel/gitg/Makefile
Tijl Coosemans a6d2f30533 - Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.h
and libintl.so.  This fixes a problem where DATADIRNAME gets an incorrect
  value which causes locale files to be installed in the wrong place.
- The only configure checks that still need to be patched are related
  to intltool so move DATADIRNAME patching from USES=pathfix to
  USE_GNOME=intlhack.

- games/klavaro: remove excessive dependencies
- japanese/libskk: add INSTALL_TARGET=install-strip
- math/libqalculate: add INSTALL_TARGET=install-strip and remove pthread
  patching
- multimedia/freetuxtv: remove excessive dependencies
- science/gramps: fix shared-mime-info use

Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-25 15:18:27 +00:00

41 lines
991 B
Makefile

# Created by: kipz <somicide@gmail.com>
# $FreeBSD$
PORTNAME= gitg
PORTVERSION= 0.2.7
PORTREVISION= 1
CATEGORIES= devel deskutils gnome
MASTER_SITES= GNOME
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= GTK-based git repository viewer
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas
RUN_DEPENDS= gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \
git:${PORTSDIR}/devel/git
CONFLICTS= gitg0-[0-9]*
USES= tar:xz gettext gmake pkgconfig pathfix libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules \
--disable-maintainer-mode \
--enable-compile-warnings=no
USE_GNOME= glib20 gtk30 gtksourceview3 intlhack
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
GLIB_SCHEMAS= org.gnome.gitg.gschema.xml
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE=nls
.include <bsd.port.mk>