diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2015-04-18 19:09:03 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2015-04-18 19:09:03 +0000 |
commit | 2358c08a33d80bdc2089b0312f82e44d99b27788 (patch) | |
tree | d239b6db58366e22a201e225b4bcdd4808c68c94 /graphics/viewnior | |
parent | Unbreak INFO build on DragonFly and FreeBSD 11+ (diff) |
Convert to USES=autoreconf
Notes
Notes:
svn path=/head/; revision=384248
Diffstat (limited to 'graphics/viewnior')
-rw-r--r-- | graphics/viewnior/Makefile | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/graphics/viewnior/Makefile b/graphics/viewnior/Makefile index 70516ad31d80..ddc3faf40784 100644 --- a/graphics/viewnior/Makefile +++ b/graphics/viewnior/Makefile @@ -11,8 +11,6 @@ COMMENT= Fast and simple image viewer LICENSE= GPLv3 -BUILD_DEPENDS= gnome-autogen.sh:${PORTSDIR}/devel/gnome-common \ - p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 USE_GITHUB= yes @@ -21,11 +19,11 @@ GH_PROJECT= Viewnior GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= fc0f5cb -USES= desktop-file-utils gmake pkgconfig +USES= autoreconf desktop-file-utils gmake libtool pkgconfig USE_GNOME= glib20 gtk20 -USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize -AUTOMAKE_ARGS= --add-missing --force GNU_CONFIGURE= yes +CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib INSTALLS_ICONS= yes PORTDOCS= AUTHORS NEWS README @@ -35,18 +33,6 @@ OPTIONS_SUB= yes NLS_USES= gettext -.include <bsd.port.options.mk> - -post-patch: - @${REINPLACE_CMD} -e \ - 's|$$(prefix)/$$(DATADIRNAME)/locale|$$(datarootdir)/locale|' \ - ${WRKSRC}/po/Makefile.in.in - -.if ! ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} -e 's|install: install-data|install:|' \ - ${WRKSRC}/po/Makefile.in.in -.endif - post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |