Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 19:19:13 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339444 - head/security/sks
Message-ID:  <201401111919.s0BJJDPP005123@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sat Jan 11 19:19:13 2014
New Revision: 339444
URL: http://svnweb.freebsd.org/changeset/ports/339444

Log:
  - Enable stage support
  - Correct bash path
  - Bump PORTREVISION

Added:
  head/security/sks/pkg-plist   (contents, props changed)
Modified:
  head/security/sks/Makefile

Modified: head/security/sks/Makefile
==============================================================================
--- head/security/sks/Makefile	Sat Jan 11 18:33:58 2014	(r339443)
+++ head/security/sks/Makefile	Sat Jan 11 19:19:13 2014	(r339444)
@@ -13,23 +13,18 @@ PROJECTHOST=	sks-keyserver
 
 USE_OCAML=	yes
 USE_BDB=	5
-USES=		perl5
+USES=		perl5 gmake shebangfix
 USE_PERL5=	build
 MAKE_JOBS_UNSAFE=yes
+SHEBANG_FILES=	sks_build.sh
 
-USE_GMAKE=	yes
 MAKE_ENV=	BDBINCLUDE="-I${BDB_INCLUDE_DIR}" \
 		BDBLIB="-L${BDB_LIB_DIR}" \
 		LIBDB="-l${BDB_LIB_NAME}" \
 		MANDIR="${MANPREFIX}/man"
 
 SUB_FILES=	pkg-message
-PLIST_FILES=	bin/sks bin/sks_add_mail bin/sks_build.sh
-MAN8=		sks.8
-MANCOMPRESSED=	yes
-PORTDOCS=	BUGS README.md TODO UPGRADING
 
-NO_STAGE=	yes
 post-extract:
 	@: > ${WRKSRC}/Makefile.local
 	@${REINPLACE_CMD} 's/-ccopt -pg //' ${WRKSRC}/Makefile
@@ -38,13 +33,10 @@ post-extract:
 pre-build:
 	@cd ${WRKSRC} && test -f .depend || ${GMAKE} dep
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC} && ${INSTALL_DATA} BUGS README.md TODO UPGRADING \
+		 ${STAGEDIR}${DOCSDIR}
+	@cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} sks sks_add_mail
 
 .include <bsd.port.mk>

Added: head/security/sks/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/sks/pkg-plist	Sat Jan 11 19:19:13 2014	(r339444)
@@ -0,0 +1,9 @@
+bin/sks
+bin/sks_add_mail
+bin/sks_build.sh
+man/man8/sks.8.gz
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/UPGRADING
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%



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