Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2016 09:00:41 +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: r427369 - head/textproc/ppower4
Message-ID:  <201611290900.uAT90fGN057118@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Nov 29 09:00:41 2016
New Revision: 427369
URL: https://svnweb.freebsd.org/changeset/ports/427369

Log:
  - Add LICENSE
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/textproc/ppower4/Makefile

Modified: head/textproc/ppower4/Makefile
==============================================================================
--- head/textproc/ppower4/Makefile	Tue Nov 29 08:56:11 2016	(r427368)
+++ head/textproc/ppower4/Makefile	Tue Nov 29 09:00:41 2016	(r427369)
@@ -13,12 +13,15 @@ EXTRACT_ONLY=	pp4sty.zip leveldemo.zip
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Post processor for PDF presentations made with (La)TeX
 
+LICENSE=	GPLv2 # version not really specified
+
 USES=		zip
 USE_TEX=	latex
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
+NO_ARCH=	yes
 
 JAR_DIR=	${JAVASHAREDIR}/${PORTNAME}
 STY_DIR=	${PREFIX}/share/texmf/tex/latex/${PORTNAME}
@@ -35,17 +38,22 @@ SUB_FILES=	ppower4.sh
 SUB_LIST=	JARFILE=${JAR_DIR}/pp4p.jar
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_SUB=	yes
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf \
-		${STAGEDIR}${DOCSDIR}
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${EXAMPLE_FILES} ${STAGEDIR}${EXAMPLESDIR}
 	@${MKDIR} ${STAGEDIR}${STY_DIR}
 	${INSTALL_DATA} ${STY_FILES} ${STAGEDIR}${STY_DIR}
 	@${MKDIR} ${STAGEDIR}${JAR_DIR}
 	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/pp4p.jar ${STAGEDIR}${JAR_DIR}
 	${INSTALL_SCRIPT} ${WRKDIR}/ppower4.sh ${STAGEDIR}${PREFIX}/bin/ppower4
 
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf \
+		${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${EXAMPLE_FILES} ${STAGEDIR}${EXAMPLESDIR}
+
 .include <bsd.port.mk>



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