edd 0226f45905 Move TeX deps for tex-by-topic and cocinelle into the buildset to avoid depending on texmf-full.
Also add a script for finding which subsets a tex file uses.

OK sthen@, thanks.
2018-04-11 13:40:29 +00:00

35 lines
801 B
Makefile

# $OpenBSD: Makefile,v 1.2 2018/04/11 13:40:46 edd Exp $
COMMENT = book on TeX typesetting system for experienced audience
CATEGORIES = books
V = 1.4
PKGNAME = tex-by-topic-${V}
COMMIT = c26c982f7f71
DISTNAME = ${COMMIT}
REVISION = 1
HOMEPAGE = http://eijkhout.net/texbytopic/texbytopic.html
MASTER_SITES = https://bitbucket.org/VictorEijkhout/tex-by-topic/get/
BUILD_DEPENDS = print/texlive/base
# GNU FDL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
WRKDIST = ${WRKDIR}/VictorEijkhout-tex-by-topic-${COMMIT}
INSTALL_LOC = ${PREFIX}/share/doc/tex-by-topic
NO_TEST = Yes
PKG_ARCH = *
ALL_TARGET = pdf
do-install:
${INSTALL_DATA_DIR} ${INSTALL_LOC}
${INSTALL_DATA} ${WRKBUILD}/TeXbyTopic.pdf ${INSTALL_LOC}
${INSTALL_DATA} ${WRKBUILD}/README ${INSTALL_LOC}
.include <bsd.port.mk>