Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2013 16:34:35 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337550 - head/archivers/cabextract
Message-ID:  <201312261634.rBQGYZth068840@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Dec 26 16:34:35 2013
New Revision: 337550
URL: http://svnweb.freebsd.org/changeset/ports/337550

Log:
  Support stage

Modified:
  head/archivers/cabextract/Makefile

Modified: head/archivers/cabextract/Makefile
==============================================================================
--- head/archivers/cabextract/Makefile	Thu Dec 26 16:27:35 2013	(r337549)
+++ head/archivers/cabextract/Makefile	Thu Dec 26 16:34:35 2013	(r337550)
@@ -11,13 +11,11 @@ COMMENT=	Program to extract Microsoft ca
 
 LICENSE=	GPLv3
 
-NO_STAGE=	yes
 GNU_CONFIGURE=	yes
 
-MANLANG=	"" ja
-MAN1=		cabextract.1
-
-PLIST_FILES=	bin/cabextract
+PLIST_FILES=	bin/cabextract \
+		man/ja/man1/cabextract.1.gz \
+		man/man1/cabextract.1.gz
 DOCS=		AUTHORS ChangeLog NEWS README TODO
 DOC_DOCS=	magic wince_cab_format.html
 SRC_DOCS=	wince_info wince_rename
@@ -25,22 +23,18 @@ PORTDOCS=	${DOCS} ${DOC_DOCS} ${SRC_DOCS
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/cabextract.1 ${MAN1PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/ja/cabextract.1 ${MAN1PREFIX}/man/ja/man1
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/doc/cabextract.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/ja/cabextract.1 ${STAGEDIR}${MAN1PREFIX}/man/ja/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
 .for i in ${DOC_DOCS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
 .for i in ${SRC_DOCS}
-	${INSTALL_DATA} ${WRKSRC}/src/${i} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/src/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312261634.rBQGYZth068840>