- Switch to USES=localbase

- Unsilence installation commands

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-08-29 09:01:36 +00:00
parent 55b6c34f44
commit b51edbaa35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448895

View file

@ -19,7 +19,7 @@ RUN_DEPENDS+= update-mime-database:misc/shared-mime-info \
PORTSCOUT= ignore:1 PORTSCOUT= ignore:1
USES= gettext gmake libtool pathfix perl5 pkgconfig tar:xz USES= gettext gmake libtool localbase:ldflags pathfix perl5 pkgconfig tar:xz
USE_PERL5= build USE_PERL5= build
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
@ -29,8 +29,6 @@ USE_XORG= xext xrender x11 xinerama xi xrandr xcursor xfixes xdamage \
xcomposite xcomposite
PATCHDIR= ${.CURDIR}/../../x11-toolkits/gtk20/files PATCHDIR= ${.CURDIR}/../../x11-toolkits/gtk20/files
CONFIGURE_ARGS= --enable-static --with-xinput=yes CONFIGURE_ARGS= --enable-static --with-xinput=yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
BUILD_WRKSRC= ${WRKSRC}/gtk BUILD_WRKSRC= ${WRKSRC}/gtk
ALL_TARGET= ${PORTNAME} ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/gtk-update-icon-cache PLIST_FILES= bin/gtk-update-icon-cache
@ -48,9 +46,9 @@ pre-configure:
fi fi
do-install: do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/gtk/gtk-update-icon-cache \ ${INSTALL_PROGRAM} ${WRKSRC}/gtk/gtk-update-icon-cache \
${STAGEDIR}${PREFIX}/bin/ ${STAGEDIR}${PREFIX}/bin/
# @${INSTALL_MAN} ${WRKSRC}/docs/reference/gtk/gtk-update-icon-cache.1 \ # ${INSTALL_MAN} ${WRKSRC}/docs/reference/gtk/gtk-update-icon-cache.1 \
# ${STAGEDIR}${PREFIX}/man/man1/ # ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk> .include <bsd.port.mk>