aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-02 06:27:43 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-02 06:27:43 +0000
commitbd83f9fcad546705446de42606d23face035e7ee (patch)
treeedeb41bd9396a4a73b2372640f0e3a3b111c8b22 /print
parent365b209e33d43daca1101a0f3167075bd56aefa5 (diff)
downloadports-bd83f9fcad546705446de42606d23face035e7ee.tar.gz
ports-bd83f9fcad546705446de42606d23face035e7ee.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/latexmk/Makefile41
-rw-r--r--print/latexmk/distinfo4
2 files changed, 24 insertions, 21 deletions
diff --git a/print/latexmk/Makefile b/print/latexmk/Makefile
index 8716be7d95f5..1d78322e89c5 100644
--- a/print/latexmk/Makefile
+++ b/print/latexmk/Makefile
@@ -2,43 +2,46 @@
# $FreeBSD$
PORTNAME= latexmk
-PORTVERSION= 431
+PORTVERSION= 435
CATEGORIES= print
MASTER_SITES= http://www.phys.psu.edu/~collins/software/latexmk/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A tool to completely automate generating output from LaTeX documents
+COMMENT= Tool to completely automate generating output from LaTeX documents
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+LICENSE= GPLv2 # (or later)
+
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
+
+OPTIONS_DEFINE= DOCS EXAMPLES
-USE_PERL5_RUN= yes
-USE_ZIP= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
+USE_ZIP= yes
+USE_PERL5_RUN= yes
+
MAN1= latexmk.1
-PLIST_FILES= bin/latexmk
-PORTDOCS= CHANGES COPYING INSTALL README latexmk.pdf latexmk.ps latexmk.txt
+PORTDOCS= *
PORTEXAMPLES= *
+PLIST_FILES= bin/latexmk
+
+.include <bsd.port.options.mk>
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/latexmk.pl ${PREFIX}/bin/latexmk
- ${INSTALL_MAN} ${WRKSRC}/latexmk.1 ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+ (cd ${WRKSRC} && ${INSTALL_SCRIPT} latexmk.pl ${PREFIX}/bin/latexmk)
+ (cd ${WRKSRC} && ${INSTALL_MAN} latexmk.1 ${MANPREFIX}/man/man1)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.for doc in CHANGES INSTALL README latexmk.pdf latexmk.ps latexmk.txt
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${DOCSDIR})
.endfor
.endif
-
-post-install:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
- ( cd ${WRKSRC} && ${COPYTREE_SHARE} example_rcfiles ${EXAMPLESDIR} )
- ( cd ${WRKSRC} && ${COPYTREE_BIN} extra-scripts ${EXAMPLESDIR} )
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} example_rcfiles ${EXAMPLESDIR})
+ @(cd ${WRKSRC} && ${COPYTREE_BIN} extra-scripts ${EXAMPLESDIR})
.endif
-.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
-.endif
.include <bsd.port.mk>
diff --git a/print/latexmk/distinfo b/print/latexmk/distinfo
index e19cc23fae16..5248329ce111 100644
--- a/print/latexmk/distinfo
+++ b/print/latexmk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (latexmk-431.zip) = 17d3b553ed167bfc6fd921d3df071953b3076bf21dcba9b974b8dc587aeb5c2e
-SIZE (latexmk-431.zip) = 367636
+SHA256 (latexmk-435.zip) = 9de9ebdafd5e0cf5c29235ec6316aae2a039a5a6eb6d55e83b4cfbb7374d7fc3
+SIZE (latexmk-435.zip) = 386766