Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 00:13:04 +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: r338703 - head/archivers/par
Message-ID:  <201401050013.s050D49o077319@svn.freebsd.org>

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

Log:
  Support stage

Modified:
  head/archivers/par/Makefile

Modified: head/archivers/par/Makefile
==============================================================================
--- head/archivers/par/Makefile	Sun Jan  5 00:10:19 2014	(r338702)
+++ head/archivers/par/Makefile	Sun Jan  5 00:13:03 2014	(r338703)
@@ -14,29 +14,24 @@ LICENSE=	GPLv2
 
 CONFLICTS=	par-[0-9]*
 
-NO_STAGE=	yes
 MAKEFILE=	Makefile.Linux
 MAKE_ARGS=	CC="${CC}"
 
-PLIST_FILES=	bin/${PORTNAME}
-MAN1=		${PORTNAME}.1
+PLIST_FILES=	bin/${PORTNAME} \
+		man/man1/${PORTNAME}.1.gz
 PORTDOCS=	ChangeLog README
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's,-Wall.*-pipe,${CFLAGS}, ; \
 		s,"Linux,"${OPSYS},' ${WRKSRC}/${MAKEFILE}
 	@${REINPLACE_CMD} -e 's,off_t,uint32_t,g' ${WRKSRC}/par.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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