mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
support stage
This commit is contained in:
parent
b30f476053
commit
9cb56c2689
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337518
1 changed files with 5 additions and 17 deletions
|
@ -12,24 +12,15 @@ COMMENT= General-purpose console screen reader
|
||||||
|
|
||||||
LICENSE= LGPL20
|
LICENSE= LGPL20
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
USES= gmake
|
USES= gmake
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
MAN1= yasr.1
|
|
||||||
PORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO \
|
PORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO \
|
||||||
README-br README-de README-es README-fr README-ru
|
README-br README-de README-es README-fr README-ru
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
NLS_USES= gettext
|
||||||
|
NLS_CONFIGURE_ENABLE= nls
|
||||||
.if ${PORT_OPTIONS:MNLS}
|
OPTIONS_SUB= yes
|
||||||
CONFIGURE_ARGS+= --enable-nls
|
|
||||||
PLIST_SUB+= NLS=""
|
|
||||||
USES+= gettext
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --disable-nls
|
|
||||||
PLIST_SUB+= NLS="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
PLIST_FILES= bin/yasr \
|
PLIST_FILES= bin/yasr \
|
||||||
%%DATADIR%%/yasr.conf \
|
%%DATADIR%%/yasr.conf \
|
||||||
|
@ -47,12 +38,9 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf
|
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
|
||||||
.for doc in ${PORTDOCS}
|
.for doc in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
|
||||||
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue