Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 01:01:15 +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: r340535 - head/devel/libshhopt
Message-ID:  <201401210101.s0L11FhA084871@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jan 21 01:01:15 2014
New Revision: 340535
URL: http://svnweb.freebsd.org/changeset/ports/340535
QAT: https://qat.redports.org/buildarchive/r340535/

Log:
  Support stage
  Respect examplesdir

Modified:
  head/devel/libshhopt/Makefile
  head/devel/libshhopt/pkg-plist   (contents, props changed)

Modified: head/devel/libshhopt/Makefile
==============================================================================
--- head/devel/libshhopt/Makefile	Tue Jan 21 00:57:13 2014	(r340534)
+++ head/devel/libshhopt/Makefile	Tue Jan 21 01:01:15 2014	(r340535)
@@ -3,25 +3,26 @@
 
 PORTNAME=	libshhopt
 PORTVERSION=	1.1.7
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://shh.thathost.com/pub-unix/files/
 DISTNAME=	shhopt-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A library for parsing command line options
+COMMENT=	Library for parsing command line options
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+USES=		uidfix
 MAKEFILE=	${FILESDIR}/Makefile.lib
 USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${FILESDIR}/Makefile ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/CREDITS ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${FILESDIR}/Makefile ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/example.c ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/libshhopt/pkg-plist
==============================================================================
--- head/devel/libshhopt/pkg-plist	Tue Jan 21 00:57:13 2014	(r340534)
+++ head/devel/libshhopt/pkg-plist	Tue Jan 21 01:01:15 2014	(r340535)
@@ -1,11 +1,10 @@
-@comment $FreeBSD$
 include/shhopt.h
 lib/libshhopt.a
 lib/libshhopt.so
 lib/libshhopt.so.1
-%%PORTDOCS%%share/doc/libshhopt/CREDITS
-%%PORTDOCS%%share/doc/libshhopt/README
-%%PORTDOCS%%share/examples/libshhopt/Makefile
-%%PORTDOCS%%share/examples/libshhopt/example.c
-%%PORTDOCS%%@dirrm share/examples/libshhopt
-%%PORTDOCS%%@dirrm share/doc/libshhopt
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.c
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%



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