Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
hardenedbsd-ports
Commits
13a9b8ac
Commit
13a9b8ac
authored
Jun 09, 2014
by
brix
Browse files
- Use PORT_OPTIONS:MDOCS
- Add license - Add staging support
parent
616cbe35
Changes
1
Hide whitespace changes
Inline
Side-by-side
print/latex-svninfo/Makefile
View file @
13a9b8ac
...
...
@@ -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(NOPORT
DOCS
)
.if
${PORT_OPTIONS
:
M
DOCS
}
cd
${WRKSRC}
&&
${TEX_BIN}
svninfo.dtx
.
endif
do-install
:
${MKDIR}
${PREFIX}
/
${CLASSDIR}
${INSTALL_DATA}
${
CLASS_FILES
:S@^@
${WRKSRC}
/@
}
${PREFIX}
/
${CLASSDIR}
.if
!defined(NOPORT
DOCS
)
${MKDIR}
${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS
:
S@^@${WRKSRC}/@} ${DOCSDIR}
${MKDIR}
${STAGEDIR}
/
${PREFIX}
/
${CLASSDIR}
${INSTALL_DATA}
${
CLASS_FILES
:S@^@
${WRKSRC}
/@
}
${STAGEDIR}
/
${PREFIX}
/
${CLASSDIR}
.if
${PORT_OPTIONS
:
M
DOCS
}
${MKDIR}
${STAGEDIR}
/
${DOCSDIR}
${INSTALL_DATA}
${
PORTDOCS
:S@^@
${WRKSRC}
/@
}
${STAGEDIR}
/
${DOCSDIR}
.
endif
post-install
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment