Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 13:01:11 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333863 - head/security/aescrypt
Message-ID:  <201311151301.rAFD1BTY012972@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Nov 15 13:01:11 2013
New Revision: 333863
URL: http://svnweb.freebsd.org/changeset/ports/333863

Log:
  Support staging.

Modified:
  head/security/aescrypt/Makefile
  head/security/aescrypt/pkg-descr
  head/security/aescrypt/pkg-plist

Modified: head/security/aescrypt/Makefile
==============================================================================
--- head/security/aescrypt/Makefile	Fri Nov 15 12:57:27 2013	(r333862)
+++ head/security/aescrypt/Makefile	Fri Nov 15 13:01:11 2013	(r333863)
@@ -16,15 +16,22 @@ COMMENT=	Command-line AES encryption/dec
 
 GNU_CONFIGURE=	yes
 MAKE_ENV+=	BINGRP=wheel
-NO_STAGE=	yes
 
-MAN1=		aescrypt.1 aesget.1
-MANCOMPRESSED=	yes
+BINS=		aescrypt aesget
 
-.if !defined(NOPORTDOCS)
-post-install:
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
+do-install:
+.for f in ${BINS}
+	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+.endfor
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/security/aescrypt/pkg-descr
==============================================================================
--- head/security/aescrypt/pkg-descr	Fri Nov 15 12:57:27 2013	(r333862)
+++ head/security/aescrypt/pkg-descr	Fri Nov 15 13:01:11 2013	(r333863)
@@ -11,5 +11,5 @@ From the aescrypt README.html:
       management, public key signatures, etc. are all expected to be
       done external to this program.
 
-Author:		Eric Lee Green <eric@estinc.com>
-WWW: 	http://aescrypt.sourceforge.net/
+Author:	Eric Lee Green <eric@estinc.com>
+WWW: http://aescrypt.sourceforge.net/

Modified: head/security/aescrypt/pkg-plist
==============================================================================
--- head/security/aescrypt/pkg-plist	Fri Nov 15 12:57:27 2013	(r333862)
+++ head/security/aescrypt/pkg-plist	Fri Nov 15 13:01:11 2013	(r333863)
@@ -1,4 +1,6 @@
 bin/aescrypt
 bin/aesget
+man/man1/aescrypt.1.gz
+man/man1/aesget.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/README.html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



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