aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-09 21:23:06 +0800
committerbapt <bapt@FreeBSD.org>2014-01-09 21:23:06 +0800
commit78136aa2b02e7a61761f08a7d072a7c833e863ad (patch)
treec9fbe593facfb826cb702a9a1ae39c984bd7d8a7 /converters
parentfdcf4b1d8d25ad8d3c325f0709cd0176e0b45069 (diff)
downloadfreebsd-ports-graphics-78136aa2b02e7a61761f08a7d072a7c833e863ad.tar.gz
freebsd-ports-graphics-78136aa2b02e7a61761f08a7d072a7c833e863ad.tar.zst
freebsd-ports-graphics-78136aa2b02e7a61761f08a7d072a7c833e863ad.zip
Support stage
Use bsdtar to extract the zip file
Diffstat (limited to 'converters')
-rw-r--r--converters/cocot/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/converters/cocot/Makefile b/converters/cocot/Makefile
index f879b1e919e..bd6778ce4ec 100644
--- a/converters/cocot/Makefile
+++ b/converters/cocot/Makefile
@@ -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>