Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 13:36:57 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333996 - head/sysutils/videogen
Message-ID:  <201311161336.rAGDavuE017971@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat Nov 16 13:36:56 2013
New Revision: 333996
URL: http://svnweb.freebsd.org/changeset/ports/333996

Log:
  Support STAGEDIR.

Added:
  head/sysutils/videogen/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/videogen/Makefile

Modified: head/sysutils/videogen/Makefile
==============================================================================
--- head/sysutils/videogen/Makefile	Sat Nov 16 13:36:51 2013	(r333995)
+++ head/sysutils/videogen/Makefile	Sat Nov 16 13:36:56 2013	(r333996)
@@ -11,22 +11,17 @@ COMMENT=	A tool for calculating XFree86 
 
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
 
-MAN1=		${PORTNAME}.1
-PORTDOCS=	BUGS CHANGES README THANKS
-PLIST_FILES=	bin/${PORTNAME}
+DOCS=		BUGS CHANGES README THANKS
 
-NO_STAGE=	yes
 post-extract:
 	@${LN} -sf ${PORTNAME}.1x ${WRKSRC}/${PORTNAME}.1
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for file in ${DOCS}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Added: head/sysutils/videogen/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/videogen/pkg-plist	Sat Nov 16 13:36:56 2013	(r333996)
@@ -0,0 +1,7 @@
+bin/videogen
+man/man1/videogen.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%@dirrm %%DOCSDIR%%



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