svn commit: r333863 - head/security/aescrypt
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Nov 15 13:01:12 UTC 2013
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 at estinc.com>
-WWW: http://aescrypt.sourceforge.net/
+Author: Eric Lee Green <eric at 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%%
More information about the svn-ports-head
mailing list