aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorbrix <brix@FreeBSD.org>2014-06-10 03:27:53 +0800
committerbrix <brix@FreeBSD.org>2014-06-10 03:27:53 +0800
commit13a9b8ac28d45d4058cc5f288e396873c83f4062 (patch)
treef8f513ea98d6622d1696d7295b503728a1fc5185 /print
parent616cbe351f7bbf3faf6e6b2f47cead86d85710de (diff)
downloadfreebsd-ports-gnome-13a9b8ac28d45d4058cc5f288e396873c83f4062.tar.gz
freebsd-ports-gnome-13a9b8ac28d45d4058cc5f288e396873c83f4062.tar.zst
freebsd-ports-gnome-13a9b8ac28d45d4058cc5f288e396873c83f4062.zip
- Use PORT_OPTIONS:MDOCS
- Add license - Add staging support
Diffstat (limited to 'print')
-rw-r--r--print/latex-svninfo/Makefile17
1 files changed, 9 insertions, 8 deletions
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 <bsd.port.pre.mk>
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: