freebsd-ports/devel/appdata-tools/Makefile
Tijl Coosemans edb7229dd4 Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The
first contains runtime libraries such as libintl and the latter contains
developer tools such as msgfmt.  Ports that use gettext will usually need
a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools.

USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on
devel/gettext-runtime and USES=gettext-tools can be used to set a
BUILD/RUN_DEPENDS on devel/gettext-tools.  USES=gettext is now the same
as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on
devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools.

Update gettext to 0.19.3.

Remove :oldver from converters/libiconv and devel/gettext-runtime.  Leave
symlinks with the old library versions to avoid the need to bump
PORTREVISION on a large number of dependent ports.  When most of the
dependent ports have had normal version updates, PORTREVISION can be
bumped on the remaining ones (low number) and the links can be removed.

Fix some ports that installed files in lib/locale instead of share/locale.

PR:		194038
Reviewed by:	bapt
Exp-run:	antoine
Approved by:	portmgr (antoine)
2014-11-29 18:22:32 +00:00

45 lines
1.2 KiB
Makefile

# Created by: Gustau Perez <gustau.perez@gmail.com>
# $FreeBSD$
# $MCom: ports/trunk/devel/appdata-tools/Makefile 20031 2014-11-02 21:47:55Z kwm $
PORTNAME= appdata-tools
PORTVERSION= 0.1.8
PORTREVISION= 1
CATEGORIES= devel
DIST_SUBDIR= gnome3
WRKSRC= ${WRKDIR}/hughsie-appdata-tools-${GH_COMMIT}
MAINTAINER= gnome@FreeBSD.org
COMMENT= AppData is a subset of AppStream
LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
libappstream-glib.so:${PORTSDIR}/devel/appstream-glib
GH_ACCOUNT= hughsie
GH_PROJECT= appdata-tools
GH_COMMIT= c1238e3
GH_TAGNAME= ${GH_COMMIT}
GNU_CONFIGURE= yes
PATHFIX_MAKEFILEIN= Makefile.am
#CONFIGURE_ARGS= --enable-introspection=yes
USE_GITHUB= yes
USES= autoreconf:build gettext gmake libtool pathfix pkgconfig
USE_GNOME= gdkpixbuf2 glib20 intltool introspection:build
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's|-Wclobbered||g ; \
s|-Wempty-body||g ; \
s|-Wignored-qualifiers||g ; \
s|-Wtype-limits||g ; \
s|-Wmissing-parameter-type||g' \
${WRKSRC}/configure.ac
pre-configure:
(cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh)
${REINPLACE_CMD} 's/DATADIRNAME=lib/DATADIRNAME=share/' \
${WRKSRC}/configure
.include <bsd.port.mk>