diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-03-01 16:21:23 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-03-01 16:21:23 +0000 |
commit | 03e5d1dce201e2598661a9de6ab2e681b66d7cdb (patch) | |
tree | 75ecfbc430866f7963fd8e90c1dc10d6d935c924 /print/xtexsh | |
parent | Update to 20160302. Sort plist. (diff) |
- Add LICENSE_FILE
- Add NO_ARCH
- Switch to USES=shebangfix
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=409879
Diffstat (limited to 'print/xtexsh')
-rw-r--r-- | print/xtexsh/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/print/xtexsh/Makefile b/print/xtexsh/Makefile index 880f31d0e9d9..0f40d739d2e2 100644 --- a/print/xtexsh/Makefile +++ b/print/xtexsh/Makefile @@ -11,21 +11,23 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Tcl/Tk-based simple TeX interface LICENSE= GPLv2 - -OPTIONS_DEFINE= DOCS +LICENSE_FILE= ${WRKSRC}/LICENSE WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} NO_BUILD= yes +NO_ARCH= yes USE_TEX= latex -USES+= tk desktop-file-utils +USES= tk desktop-file-utils shebangfix +SHEBANG_FILES= xtexsh INSTALLS_ICONS= yes + PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: - @${REINPLACE_CMD} -e \ - 's|/usr/bin/wish|${WISH}|g ; \ - s|"/etc|"${PREFIX}/etc| ; \ + @${REINPLACE_CMD} -e 's|"/etc|"${PREFIX}/etc|; \ s|exec bash|exec sh|' ${WRKSRC}/xtexsh do-install: @@ -40,6 +42,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/xtexsh.png \ ${STAGEDIR}${PREFIX}/share/icons/locolor/32x32/apps/xtexsh.png ${INSTALL_DATA} ${WRKSRC}/xtexsh.png ${STAGEDIR}${PREFIX}/share/pixmaps + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR} |