From 13a9b8ac28d45d4058cc5f288e396873c83f4062 Mon Sep 17 00:00:00 2001 From: brix Date: Mon, 9 Jun 2014 19:27:53 +0000 Subject: - Use PORT_OPTIONS:MDOCS - Add license - Add staging support --- print/latex-svninfo/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'print') diff --git a/print/latex-svninfo/Makefile b/print/latex-svninfo/Makefile index da904cfc687b..4d05ee4ad509 100644 --- a/print/latex-svninfo/Makefile +++ b/print/latex-svninfo/Makefile @@ -3,7 +3,7 @@ PORTNAME= svninfo PORTVERSION= 0.7.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print MASTER_SITES= http://www.brucker.ch/projects/svninfo/download/ \ ${MASTER_SITE_LOCAL} @@ -13,6 +13,8 @@ PKGNAMEPREFIX= latex- MAINTAINER= brix@FreeBSD.org COMMENT= A LaTeX package for Subversion support +LICENSE= LPPL10 + USE_TEX= latex PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR} @@ -25,21 +27,20 @@ CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME} CLASS_FILES= svninfo.sty svninfo.cfg PORTDOCS= README svninfo.dvi -NO_STAGE= yes .include do-build: cd ${WRKSRC} && ${TEX_BIN} svninfo.ins -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} cd ${WRKSRC} && ${TEX_BIN} svninfo.dtx .endif do-install: - ${MKDIR} ${PREFIX}/${CLASSDIR} - ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}/${PREFIX}/${CLASSDIR} + ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${STAGEDIR}/${PREFIX}/${CLASSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}/${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${STAGEDIR}/${DOCSDIR} .endif post-install: -- cgit