Support stage
Use bsdtar to extract the zip file
This commit is contained in:
parent
f8831853e7
commit
19c191e2b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339228
1 changed files with 6 additions and 11 deletions
|
@ -8,11 +8,13 @@ MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
|
|||
${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= knu
|
||||
DISTNAME= ${PORTNAME}-1.1-${PORTVERSION}
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
COMMENT= Code Converter on TTY
|
||||
|
||||
USE_ZIP= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
USES= iconv
|
||||
WRKSRC= ${WRKDIR}/vmi-${PORTNAME}-8bc9f64
|
||||
GNU_CONFIGURE= yes
|
||||
|
@ -23,20 +25,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
|||
DOCS_EN= COPYING ChangeLog
|
||||
DOCS_JA= ChangeLog.ja README.ja
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${MKDIR} ${DOCSDIR}/ja
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
|
||||
.for f in ${DOCS_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.for f in ${DOCS_JA}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ja
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ja
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue