- Fix LIB_DEPENDS syntax

While here:
- Remove USE_GCC=any, it builds and runs fine with clang (tested on 10-amd64)
- Add stage support
This commit is contained in:
Antoine Brodin 2014-01-26 13:48:06 +00:00
parent e1bfc838a0
commit a378805d2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341173
2 changed files with 8 additions and 11 deletions

View file

@ -13,20 +13,16 @@ LICENSE= ISCL
BUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man \
${LOCALBASE}/include/xorg/xserver-properties.h:${PORTSDIR}/x11-servers/xorg-server
LIB_DEPENDS= libgtkmm-3.so:${PORTSDIR}/x11-toolkits/gtkmm30 \
libdbus-glib.so:${PORTSDIR}/devel/dbus-glib \
LIB_DEPENDS= libgtkmm-3.0.so:${PORTSDIR}/x11-toolkits/gtkmm30 \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libboost_serialization.so:${PORTSDIR}/devel/boost-libs
MAN1= easystroke.1
USE_GCC= any
USE_XORG= x11 xtst
USES= gettext gmake pkgconfig
INSTALLS_ICONS= yes
OPTIONS_DEFINE= NLS
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@ -44,14 +40,14 @@ pre-build:
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg ${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MNLS}
(cd ${WRKSRC}/po/ && \
${COPYTREE_SHARE} \* ${PREFIX}/share/locale/ "-name *.mo")
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale/ "-name *.mo")
.endif
.include <bsd.port.mk>

View file

@ -1,3 +1,4 @@
man/man1/easystroke.1.gz
share/pixmaps/easystroke.svg
%%NLS%%share/locale/ru/LC_MESSAGES/easystroke.mo
%%NLS%%share/locale/ko/LC_MESSAGES/easystroke.mo