Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 16:39:57 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408055 - head/print/mpage
Message-ID:  <201602041639.u14Gdv5W041157@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Feb  4 16:39:57 2016
New Revision: 408055
URL: https://svnweb.freebsd.org/changeset/ports/408055

Log:
  - Switch to USES=tar:tgz
  - Switch to options helpers

Modified:
  head/print/mpage/Makefile

Modified: head/print/mpage/Makefile
==============================================================================
--- head/print/mpage/Makefile	Thu Feb  4 16:39:47 2016	(r408054)
+++ head/print/mpage/Makefile	Thu Feb  4 16:39:57 2016	(r408055)
@@ -9,11 +9,11 @@ PORTNAME=	mpage
 PORTVERSION=	2.5.6
 CATEGORIES=	print
 MASTER_SITES=	ftp://ftp.mesa.nl/pub/mpage/
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Print multiple pages per sheet of paper
 
+USES=		tar:tgz
 ALL_TARGET=	default
 
 PORTDOCS=	CHANGES Characters Copyright Encoding.format FAQ NEWS \
@@ -23,7 +23,9 @@ PLIST_FILES=	bin/mpage %%DATADIR%%/CP850
 		%%DATADIR%%/ISO-Latin.1 %%DATADIR%%/ISO-Latin.2 \
 		man/man1/mpage.1.gz
 
-post-install:
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 



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