mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stage support
This commit is contained in:
parent
01181ffbfa
commit
5906fe9f8e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341867
@ -19,12 +19,9 @@ USE_GNOME= gtk20
|
||||
USES= gettext perl5 gmake pkgconfig
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= ${PORTNAME}.1
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -Wno-return-type
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|1.1.7|${PORTVERSION}|g' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|"sensible-browser"|"xdg-open"|g' ${WRKSRC}/config.h
|
||||
@ -41,12 +38,12 @@ post-build:
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
.for lang in cs cz es fr sv
|
||||
@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES
|
||||
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
|
||||
${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
|
||||
${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/gtimer
|
||||
man/man1/gtimer.1.gz
|
||||
share/locale/cs/LC_MESSAGES/gtimer.mo
|
||||
share/locale/cz/LC_MESSAGES/gtimer.mo
|
||||
share/locale/es/LC_MESSAGES/gtimer.mo
|
||||
|
Loading…
Reference in New Issue
Block a user