Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #$OpenBSD: Makefile,v 1.2 2017/05/15 04:05:55 stu Exp $
  2. COMMENT = library for generating PDF documents for Tcl
  3. V = 0.9.1
  4. DISTNAME = pdf4tcl${V:S/.//g}
  5. PKGNAME = pdf4tcl-${V}
  6. CATEGORIES = textproc
  7. HOMEPAGE = http://sourceforge.net/projects/pdf4tcl/
  8. MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
  9. # BSD
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pdf4tcl/}
  12. MODULES = lang/tcl
  13. MODTCL_VERSION =8.6
  14. BUILD_DEPENDS = devel/tcllib
  15. RUN_DEPENDS = ${MODTCL_RUN_DEPENDS}
  16. SEPARATE_BUILD =Yes
  17. NO_TEST = Yes
  18. PKG_ARCH = *
  19. PT_LIB_DIR = ${DESTDIR}${MODTCL_TCLDIR}/pdf4tcl
  20. PT_DAT_DIR = ${DESTDIR}${MODTCL_TCLDIR}/pdf4tcl/bitmaps
  21. PT_DOC_DIR = ${PREFIX}/share/doc/pdf4tcl
  22. PT_MAN_DIR = ${PREFIX}/man/mann
  23. do-build:
  24. dtplite -o ${WRKBUILD}/pdf4tcl.n nroff ${WRKSRC}/pdf4tcl.man
  25. do-install:
  26. ${INSTALL_DATA_DIR} ${PT_DAT_DIR} ${PT_DOC_DIR} ${PT_MAN_DIR}
  27. ${INSTALL_DATA} ${WRKSRC}/{pkgIndex,pdf4tcl,glyph2uni,stdmetrics}.tcl ${PT_LIB_DIR}
  28. ${INSTALL_DATA} ${WRKSRC}/bitmaps/*.xbm ${PT_DAT_DIR}
  29. ${INSTALL_DATA} ${WRKSRC}/{licence.terms,pdf4tcl.html} ${PT_DOC_DIR}
  30. ${INSTALL_DATA} ${WRKBUILD}/pdf4tcl.n ${PT_MAN_DIR}
  31. .include <bsd.port.mk>