Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2013 00:25:11 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r318805 - head/print/texpower
Message-ID:  <201305230025.r4N0PBEX036556@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Thu May 23 00:25:11 2013
New Revision: 318805
URL: http://svnweb.freebsd.org/changeset/ports/318805

Log:
  Fix dependency.
  
  Reported by:	miwi

Modified:
  head/print/texpower/Makefile

Modified: head/print/texpower/Makefile
==============================================================================
--- head/print/texpower/Makefile	Wed May 22 23:32:12 2013	(r318804)
+++ head/print/texpower/Makefile	Thu May 23 00:25:11 2013	(r318805)
@@ -1,14 +1,9 @@
-# ex:ts=8
-# Ports collection makefile for:	texpower
-# Date created:			Dec 30, 2003
-# Whom:				ijliao
-#
+# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	texpower
 PORTVERSION=	0.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	print
 MASTER_SITES=	SF
 PKGNAMEPREFIX=	latex-
@@ -17,7 +12,7 @@ DISTNAME=	${PORTNAME}-0-2
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Creating dynamic online presentations with LaTeX
 
-USE_TEX=	tetex
+USE_TEX=	tetex latex
 PLIST_SUB=	TEXMFLOCAL=${TEXMFLOCAL} \
 		MKTEXLSR=${MKTEXLSR}
 
@@ -26,6 +21,10 @@ MKTEXLSR=	${LOCALBASE}/bin/mktexlsr
 DOCFILES=	00readme.txt 01install.txt \
 		manual.pdf powersem.pdf texpower.pdf
 
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 do-build:
 	@(cd ${BUILD_WRKSRC} && \
 		${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
@@ -39,7 +38,7 @@ do-install:
 	${MKDIR} ${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME}/tpslifonts
 	cd ${WRKSRC}/tpslifonts && ${INSTALL_DATA} *.sty  \
 		${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME}/tpslifonts
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
 .endif



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