svn commit: r353637 - head/sysutils/spiped

Colin Percival cperciva at FreeBSD.org
Sun May 11 01:39:41 UTC 2014


Author: cperciva
Date: Sun May 11 01:39:40 2014
New Revision: 353637
URL: http://svnweb.freebsd.org/changeset/ports/353637
QAT: https://qat.redports.org/buildarchive/r353637/

Log:
  STAGEify
  
  Submitted by:	Tony Morlan

Modified:
  head/sysutils/spiped/Makefile

Modified: head/sysutils/spiped/Makefile
==============================================================================
--- head/sysutils/spiped/Makefile	Sun May 11 01:32:23 2014	(r353636)
+++ head/sysutils/spiped/Makefile	Sun May 11 01:39:40 2014	(r353637)
@@ -10,34 +10,28 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	cperciva at tarsnap.com
 COMMENT=	Daemon for creating secure symmetric pipes
 
-LICENSE=	BSD
+LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-# Ask to have man pages installed
-MAKE_ARGS=	MAN1DIR=${MANPREFIX}/man/man1
-MAN1=		spiped.1 spipe.1
-
-# Binaries go into ${PREFIX}/bin
-MAKE_ARGS+=	BINDIR=${PREFIX}/bin
+# Install into ${STAGEDIR}${PREFIX}
+MAKE_ARGS+=	BINDIR=${STAGEDIR}${PREFIX}/bin
+MAKE_ARGS+=	MAN1DIR=${STAGEDIR}${PREFIX}/man/man1
 
 # Force __BSD_VISIBLE on since it works and improves performance
 MAKE_ARGS+=	CFLAGS="-O2 -D__BSD_VISIBLE"
 
 PORTDOCS=	BUILDING CHANGELOG COPYRIGHT README STYLE
-PLIST_FILES=	bin/spiped bin/spipe
+PLIST_FILES=	bin/spipe \
+		bin/spiped \
+		man/man1/spipe.1.gz \
+		man/man1/spiped.1.gz
 
 USE_RC_SUBR=	spiped
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR})
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list