Replace gnomehack with patfhix + a post-patch entry

Strip binaries
This commit is contained in:
Baptiste Daroussin 2014-12-25 01:45:49 +00:00
parent 05455762f1
commit a9a41ef761
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375514

View file

@ -13,15 +13,19 @@ COMMENT= Library to share image and audio files between projects
BUILD_DEPENDS= texi2html:${PORTSDIR}/textproc/texi2html
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt
USES= gettext gmake libtool:keepla makeinfo pkgconfig
USE_GNOME= gnomehack gnomeprefix glib20 libxml2
USES= gettext gmake libtool:keepla makeinfo pathfix pkgconfig
USE_GNOME= gnomeprefix glib20 libxml2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
INSTALL_TARGET= install-strip
INFO= libassetml
post-patch:
@${REINPLACE_CMD} -e 's,libdir)/locale,datadir)/locale,g' ${WRKSRC}/po/Makefile.in.in
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/assetml