Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 00:10:19 +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: r338702 - head/archivers/macutils
Message-ID:  <201401050010.s050AJiv074500@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan  5 00:10:19 2014
New Revision: 338702
URL: http://svnweb.freebsd.org/changeset/ports/338702

Log:
  Support stage

Modified:
  head/archivers/macutils/Makefile
  head/archivers/macutils/pkg-plist

Modified: head/archivers/macutils/Makefile
==============================================================================
--- head/archivers/macutils/Makefile	Sun Jan  5 00:08:02 2014	(r338701)
+++ head/archivers/macutils/Makefile	Sun Jan  5 00:10:19 2014	(r338702)
@@ -13,23 +13,16 @@ COMMENT=	Utilities for Apple Macintosh f
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 MAKEFILE=	makefile
-NO_STAGE=	yes
 
-MAN1=		macunpack.1 hexbin.1 macsave.1 macstream.1 binhex.1 tomac.1 \
-		frommac.1 macutil.1
-
-BINDIR=		${PREFIX}/bin
+BINDIR=		${STAGEDIR}${PREFIX}/bin
 DOCFILES=	README.crc README.hexbin README.macput README.unpit \
 		README.zoom README.crc.orig README.macget README.scan \
 		README.unsit ../README
 
-.include <bsd.port.options.mk>
-
 # The distribution has a naff install target which doesn't install man
 # pages so here is a decent one.
 #
 do-install:
-	@${ECHO_MSG} "===>  Installing binaries..."
 	${INSTALL_PROGRAM} ${WRKSRC}/macunpack/macunpack ${BINDIR}/
 	${INSTALL_PROGRAM} ${WRKSRC}/hexbin/hexbin ${BINDIR}/
 	${INSTALL_PROGRAM} ${WRKSRC}/mixed/macsave ${BINDIR}/
@@ -37,21 +30,17 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/binhex/binhex ${BINDIR}/
 	${INSTALL_PROGRAM} ${WRKSRC}/comm/tomac ${BINDIR}/
 	${INSTALL_PROGRAM} ${WRKSRC}/comm/frommac ${BINDIR}/
-	@${ECHO_MSG} "===>  Installing man pages..."
-	${INSTALL_MAN} ${WRKSRC}/man/macunpack.1 ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/hexbin.1 ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/macsave.1 ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/macstream.1 ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/binhex.1 ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/tomac.1 ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/frommac.1 ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/macutil.1 ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
-	@${ECHO_MSG} "===>  Installing supplementary documents..."
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/man/macunpack.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/hexbin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/macsave.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/macstream.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/binhex.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/tomac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/frommac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/macutil.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${DOCFILES}
-	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/archivers/macutils/pkg-plist
==============================================================================
--- head/archivers/macutils/pkg-plist	Sun Jan  5 00:08:02 2014	(r338701)
+++ head/archivers/macutils/pkg-plist	Sun Jan  5 00:10:19 2014	(r338702)
@@ -5,6 +5,14 @@ bin/macsave
 bin/macstream
 bin/macunpack
 bin/tomac
+man/man1/binhex.1.gz
+man/man1/frommac.1.gz
+man/man1/hexbin.1.gz
+man/man1/macsave.1.gz
+man/man1/macstream.1.gz
+man/man1/macunpack.1.gz
+man/man1/macutil.1.gz
+man/man1/tomac.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/README.crc
 %%PORTDOCS%%%%DOCSDIR%%/README.crc.orig



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